Project-OSRM / osrm-backend

Open Source Routing Machine - C++ backend
http://map.project-osrm.org
BSD 2-Clause "Simplified" License
6.42k stars 3.4k forks source link

Remove unused header file #6913

Closed DennisOSRM closed 5 months ago

DennisOSRM commented 5 months ago

Benchmark Results

Benchmark Base PR
alias aliased u32: 1100.96
plain u32: 1090.33
aliased double: 959.596
plain double: 952.866
aliased u32: 1097.05
plain u32: 1083.09
aliased double: 952.836
plain double: 956.151
json-render String: 6.5741ms
Stringstream: 9.3445ms
Vector: 6.8484ms
String: 6.59736ms
Stringstream: 9.3328ms
Vector: 6.87642ms
match_ch Default radius:
4.51663ms/req at 82 coordinate
0.0550809ms/coordinate
Radius 5m:
4.49462ms/req at 82 coordinate
0.0548124ms/coordinate
Radius 10m:
15.4135ms/req at 82 coordinate
0.18797ms/coordinate
Radius 15m:
37.9857ms/req at 82 coordinate
0.463241ms/coordinate
Radius 30m:
321.845ms/req at 82 coordinate
3.92494ms/coordinate
Default radius:
4.47706ms/req at 82 coordinate
0.0545983ms/coordinate
Radius 5m:
4.44987ms/req at 82 coordinate
0.0542667ms/coordinate
Radius 10m:
15.3191ms/req at 82 coordinate
0.186818ms/coordinate
Radius 15m:
37.3968ms/req at 82 coordinate
0.456059ms/coordinate
Radius 30m:
318.964ms/req at 82 coordinate
3.88981ms/coordinate
match_mld Default radius:
3.01219ms/req at 82 coordinate
0.036734ms/coordinate
Radius 5m:
2.90696ms/req at 82 coordinate
0.0354507ms/coordinate
Radius 10m:
10.4022ms/req at 82 coordinate
0.126856ms/coordinate
Radius 15m:
26.7163ms/req at 82 coordinate
0.325809ms/coordinate
Radius 30m:
312.853ms/req at 82 coordinate
3.81528ms/coordinate
Default radius:
3.02108ms/req at 82 coordinate
0.0368425ms/coordinate
Radius 5m:
2.9898ms/req at 82 coordinate
0.0364609ms/coordinate
Radius 10m:
11.5109ms/req at 82 coordinate
0.140377ms/coordinate
Radius 15m:
29.9391ms/req at 82 coordinate
0.365112ms/coordinate
Radius 30m:
357.829ms/req at 82 coordinate
4.36377ms/coordinate
packedvector random write:
std::vector 9859.32 ms
util::packed_vector 78207 ms
slowdown: 7.93229
random read:
std::vector 8509.16 ms
util::packed_vector 33496.2 ms
slowdown: 3.93649
random write:
std::vector 9824.27 ms
util::packed_vector 73791.5 ms
slowdown: 7.51114
random read:
std::vector 8480.41 ms
util::packed_vector 30783.3 ms
slowdown: 3.62993
route_ch 1000 routes, 3 coordinates, no alternatives, overview=full, steps=true
511.938ms
0.511938ms/req
1000 routes, 2 coordinates, no alternatives, overview=full, steps=true
354.195ms
0.354195ms/req
1000 routes, 2 coordinates, 3 alternatives, overview=full, steps=true
634.456ms
0.634456ms/req
1000 routes, 3 coordinates, no alternatives, overview=false, steps=false
151.942ms
0.151942ms/req
1000 routes, 2 coordinates, no alternatives, overview=false, steps=false
98.3052ms
0.0983052ms/req
1000 routes, 2 coordinates, 3 alternatives, overview=false, steps=false
135.258ms
0.135258ms/req
1000 routes, 3 coordinates, no alternatives, overview=false, steps=false, radius=750
151.411ms
0.151411ms/req
1000 routes, 2 coordinates, no alternatives, overview=false, steps=false, radius=750
98.6195ms
0.0986195ms/req
1000 routes, 2 coordinates, 3 alternatives, overview=false, steps=false, radius=750
135.069ms
0.135069ms/req
1000 routes, 3 coordinates, no alternatives, overview=full, steps=true
510.432ms
0.510432ms/req
1000 routes, 2 coordinates, no alternatives, overview=full, steps=true
351.994ms
0.351994ms/req
1000 routes, 2 coordinates, 3 alternatives, overview=full, steps=true
627.408ms
0.627408ms/req
1000 routes, 3 coordinates, no alternatives, overview=false, steps=false
152.496ms
0.152496ms/req
1000 routes, 2 coordinates, no alternatives, overview=false, steps=false
98.0008ms
0.0980008ms/req
1000 routes, 2 coordinates, 3 alternatives, overview=false, steps=false
132.527ms
0.132527ms/req
1000 routes, 3 coordinates, no alternatives, overview=false, steps=false, radius=750
151.009ms
0.151009ms/req
1000 routes, 2 coordinates, no alternatives, overview=false, steps=false, radius=750
97.8028ms
0.0978028ms/req
1000 routes, 2 coordinates, 3 alternatives, overview=false, steps=false, radius=750
131.42ms
0.13142ms/req
route_mld 1000 routes, 3 coordinates, no alternatives, overview=full, steps=true
644.595ms
0.644595ms/req
1000 routes, 2 coordinates, no alternatives, overview=full, steps=true
443.93ms
0.44393ms/req
1000 routes, 2 coordinates, 3 alternatives, overview=full, steps=true
821.843ms
0.821843ms/req
1000 routes, 3 coordinates, no alternatives, overview=false, steps=false
288.7ms
0.2887ms/req
1000 routes, 2 coordinates, no alternatives, overview=false, steps=false
166.365ms
0.166365ms/req
1000 routes, 2 coordinates, 3 alternatives, overview=false, steps=false
305.72ms
0.30572ms/req
1000 routes, 3 coordinates, no alternatives, overview=false, steps=false, radius=750
289.509ms
0.289509ms/req
1000 routes, 2 coordinates, no alternatives, overview=false, steps=false, radius=750
167.357ms
0.167357ms/req
1000 routes, 2 coordinates, 3 alternatives, overview=false, steps=false, radius=750
306.084ms
0.306084ms/req
1000 routes, 3 coordinates, no alternatives, overview=full, steps=true
654.292ms
0.654292ms/req
1000 routes, 2 coordinates, no alternatives, overview=full, steps=true
441.942ms
0.441942ms/req
1000 routes, 2 coordinates, 3 alternatives, overview=full, steps=true
839.873ms
0.839873ms/req
1000 routes, 3 coordinates, no alternatives, overview=false, steps=false
298.655ms
0.298655ms/req
1000 routes, 2 coordinates, no alternatives, overview=false, steps=false
165.67ms
0.16567ms/req
1000 routes, 2 coordinates, 3 alternatives, overview=false, steps=false
315.596ms
0.315596ms/req
1000 routes, 3 coordinates, no alternatives, overview=false, steps=false, radius=750
300.174ms
0.300174ms/req
1000 routes, 2 coordinates, no alternatives, overview=false, steps=false, radius=750
164.949ms
0.164949ms/req
1000 routes, 2 coordinates, 3 alternatives, overview=false, steps=false, radius=750
313.095ms
0.313095ms/req
rtree 1 result:
208.856ms -> 0.0208856 ms/query
10 results:
243.617ms -> 0.0243617 ms/query
1 result:
207.746ms -> 0.0207746 ms/query
10 results:
242.442ms -> 0.0242442 ms/query