Repository navigation
Conversation
|
During this optimization spree I mainly focused on optimizing map matching performance. Key to fast map matching is the coordinate lookup, which used to occupy 85% of the run-time when doing map matching (at least for high-resolution traces). I used a simple benchmark query on a small dataset, so threat this numbers as relative not real-world values. My test trace went from: To: The StaticRTree is still the bottle neck here. ~20% are spend in the actual map matching. ~70% in the StaticRTree, the rest is 5% shortest path for the final route and lots of small change. (note this benchmark excluded step generation and geometry generation) |
|
Hi, i have created PR #2348 to make leaf node memory mapped file more system-friendly. util-tests are failing but i can fix it soon. |
| endif() | ||
| if(CMAKE_BUILD_TYPE MATCHES Release) | ||
| message(STATUS "Configuring OSRM in release mode") | ||
| set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-omit-frame-pointer") |
There was a problem hiding this comment.
Please make sure to remove this before merging.
(I usually set CXXFLAGS in the env for flags like needed by perf, then I don't have to modify the build system)
|
The functional part of this was broken out in #2385. I would like to move my benchmark to |
|
=> src/CMakeLists.txt :) modularization comes step by step |
This needs a cleanup since there is also benchmarking code in there.
85a51b7 brings a real performance boost and 006ce65 cuts longer routes down by ~15ms.