summaryrefslogtreecommitdiff
path: root/benchmark/fixtures
Commit message (Collapse)AuthorAgeFilesLines
* [core] Add expression filter support (#11251)Lucas Wojciechowski2018-03-081-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * WIP * WIP * WIP * Remove Filter::operator()(const Feature&) * WIP * WIP * WIP * WIP * Hook up expression filter evaluator * Replace `shared_ptr` with &reference * Fill in implementation of `void operator()(const ExpressionFilter&)` * Fix failing tests * Switch back to a shared_ptr per chat with @anandthakker * Fix benchmark compilation * Shot in the dark to fix CI * Shot in the dark to fix CI (part 2) * Shot in the dark to fix CI (part 3) * In src/mbgl/style/conversion/filter.cpp, add a port of isExpressionFilter and use it to decide in Converter<Filter>::operator() whether to parse the incoming JSON as an ExpressionFilter or one of the legacy filter types * Remove bool Filter::operator()(const GeometryTileFeature&) const * Ensure the map zoom is passed into filtering operations wherever applicable * Add expression filter tests * Addressed PR feedback * Implement `NSPredicate *operator()(mbgl::style::ExpressionFilter filter)` * Fix formatting& nit
* [benchmark] Add a benchmark for our dtoa implementationThiago Marcos P. Santos2017-07-121-0/+0
| | | | | | | Make sure it is faster than std::to_value(). And it is, by ~30% for the normal use case, and much faster when close to the double limits. util::dtoa also offers a much better precision.
* [benchmark] add render benchmarksIvo van Dongen2017-07-071-0/+0
|
* [benchmark] update cache db and styleIvo van Dongen2017-07-072-11309/+3989
|
* [core] Reuse last placement data in CollisionTile::queryRenderedFeaturesBruno de Oliveira Abinader2016-10-251-0/+0
| | | | | | | | | | | To obtain precise results, we: 1. Round scale value to obtain same results from symbol shader. 2. Generate a boost geometry polygon to check if it intersects() against all feature boxes. 3. Check if current scale is within each feature's minimum and maximum placement scales. 4. De-scale feature boxes when intersecting to account for the fractional zoom scaling.
* [build] Add support for 'benchmark' target on macOSBruno de Oliveira Abinader2016-10-051-0/+0
|
* [tests] Added benchmarks for querying for featuresThiago Marcos P. Santos2016-10-053-0/+11313