Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify CMakeLists.txt #6988

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Simplify CMakeLists.txt #6988

wants to merge 2 commits into from

Conversation

DennisOSRM
Copy link
Collaborator

@DennisOSRM DennisOSRM commented Jul 10, 2024

Issue

  • Simplify CMakeLists.txt
  • Remove outdated policies not required for building
  • Always build tools and routed
  • remove dead source file glob
  • don't install header files and libraries anymore

Benchmark Results

Benchmark Base PR
alias aliased u32: 1148.18
plain u32: 1144.14
aliased double: 1088.24
plain double: 973.009
aliased u32: 1095.12
plain u32: 1102.69
aliased double: 954.158
plain double: 952.501
e2e_match_ch Ops: 41.94 ± 0.08 ops/s. Best: 42.08 ops/s
Total: 3123.68ms ± 5.65ms. Best: 3112.79ms
Min time: 2.21ms ± 0.05ms
Mean time: 23.84ms ± 0.04ms
Median time: 18.40ms ± 0.17ms
95th percentile: 71.66ms ± 0.25ms
99th percentile: 104.75ms ± 0.81ms
Max time: 120.52ms ± 0.40ms
Ops: 40.79 ± 0.06 ops/s. Best: 40.90 ops/s
Total: 3211.90ms ± 4.81ms. Best: 3203.23ms
Min time: 2.17ms ± 0.04ms
Mean time: 24.52ms ± 0.04ms
Median time: 17.89ms ± 0.05ms
95th percentile: 86.33ms ± 0.28ms
99th percentile: 104.37ms ± 0.70ms
Max time: 113.08ms ± 0.82ms
e2e_match_mld Ops: 63.89 ± 0.29 ops/s. Best: 64.49 ops/s
Total: 2050.37ms ± 9.84ms. Best: 2031.37ms
Min time: 1.75ms ± 0.02ms
Mean time: 15.65ms ± 0.08ms
Median time: 8.32ms ± 0.15ms
95th percentile: 51.73ms ± 0.28ms
99th percentile: 60.29ms ± 0.22ms
Max time: 70.20ms ± 0.81ms
Ops: 63.50 ± 0.09 ops/s. Best: 63.66 ops/s
Total: 2063.02ms ± 3.06ms. Best: 2057.67ms
Min time: 1.77ms ± 0.02ms
Mean time: 15.75ms ± 0.02ms
Median time: 8.35ms ± 0.09ms
95th percentile: 52.34ms ± 0.75ms
99th percentile: 60.59ms ± 0.41ms
Max time: 70.98ms ± 1.36ms
e2e_nearest_ch Ops: 855.56 ± 5.62 ops/s. Best: 867.72 ops/s
Total: 1168.90ms ± 7.81ms. Best: 1152.45ms
Min time: 0.99ms ± 0.01ms
Mean time: 1.17ms ± 0.01ms
Median time: 1.08ms ± 0.01ms
95th percentile: 1.62ms ± 0.01ms
99th percentile: 1.71ms ± 0.02ms
Max time: 6.54ms ± 3.01ms
Ops: 862.12 ± 6.01 ops/s. Best: 869.70 ops/s
Total: 1159.96ms ± 8.33ms. Best: 1149.82ms
Min time: 0.99ms ± 0.00ms
Mean time: 1.16ms ± 0.01ms
Median time: 1.07ms ± 0.00ms
95th percentile: 1.61ms ± 0.01ms
99th percentile: 1.65ms ± 0.01ms
Max time: 6.00ms ± 2.79ms
e2e_nearest_mld Ops: 863.31 ± 2.86 ops/s. Best: 868.73 ops/s
Total: 1158.36ms ± 4.19ms. Best: 1151.10ms
Min time: 0.99ms ± 0.00ms
Mean time: 1.16ms ± 0.00ms
Median time: 1.07ms ± 0.00ms
95th percentile: 1.61ms ± 0.01ms
99th percentile: 1.67ms ± 0.01ms
Max time: 5.83ms ± 2.68ms
Ops: 866.31 ± 6.18 ops/s. Best: 873.84 ops/s
Total: 1154.54ms ± 8.48ms. Best: 1144.37ms
Min time: 0.98ms ± 0.01ms
Mean time: 1.15ms ± 0.01ms
Median time: 1.07ms ± 0.01ms
95th percentile: 1.60ms ± 0.01ms
99th percentile: 1.65ms ± 0.01ms
Max time: 5.86ms ± 2.78ms
e2e_route_ch Ops: 346.35 ± 4.69 ops/s. Best: 351.78 ops/s
Total: 2887.62ms ± 40.96ms. Best: 2842.71ms
Min time: 1.21ms ± 0.00ms
Mean time: 2.89ms ± 0.04ms
Median time: 2.88ms ± 0.04ms
95th percentile: 3.92ms ± 0.06ms
99th percentile: 4.49ms ± 0.14ms
Max time: 7.87ms ± 1.53ms
Ops: 366.72 ± 1.40 ops/s. Best: 369.47 ops/s
Total: 2727.01ms ± 10.57ms. Best: 2706.55ms
Min time: 1.21ms ± 0.01ms
Mean time: 2.73ms ± 0.01ms
Median time: 2.74ms ± 0.01ms
95th percentile: 3.60ms ± 0.03ms
99th percentile: 4.08ms ± 0.16ms
Max time: 7.34ms ± 2.03ms
e2e_route_mld Ops: 287.14 ± 2.34 ops/s. Best: 292.02 ops/s
Total: 3483.24ms ± 31.13ms. Best: 3424.39ms
Min time: 1.21ms ± 0.01ms
Mean time: 3.48ms ± 0.03ms
Median time: 3.50ms ± 0.03ms
95th percentile: 4.87ms ± 0.08ms
99th percentile: 5.52ms ± 0.07ms
Max time: 8.04ms ± 1.88ms
Ops: 303.13 ± 0.89 ops/s. Best: 304.83 ops/s
Total: 3298.73ms ± 9.64ms. Best: 3280.56ms
Min time: 1.20ms ± 0.01ms
Mean time: 3.30ms ± 0.01ms
Median time: 3.33ms ± 0.01ms
95th percentile: 4.54ms ± 0.03ms
99th percentile: 5.05ms ± 0.06ms
Max time: 7.68ms ± 1.95ms
e2e_table_ch Ops: 309.46 ± 2.86 ops/s. Best: 316.52 ops/s
Total: 3231.09ms ± 29.61ms. Best: 3159.36ms
Min time: 1.64ms ± 0.02ms
Mean time: 3.23ms ± 0.03ms
Median time: 3.24ms ± 0.04ms
95th percentile: 4.51ms ± 0.06ms
99th percentile: 4.97ms ± 0.09ms
Max time: 9.47ms ± 2.32ms
Ops: 316.35 ± 0.84 ops/s. Best: 318.01 ops/s
Total: 3161.18ms ± 8.75ms. Best: 3144.53ms
Min time: 1.67ms ± 0.02ms
Mean time: 3.16ms ± 0.01ms
Median time: 3.17ms ± 0.01ms
95th percentile: 4.41ms ± 0.02ms
99th percentile: 4.71ms ± 0.06ms
Max time: 8.01ms ± 2.28ms
e2e_table_mld Ops: 106.09 ± 0.40 ops/s. Best: 106.89 ops/s
Total: 9425.59ms ± 36.72ms. Best: 9355.17ms
Min time: 3.83ms ± 0.02ms
Mean time: 9.43ms ± 0.04ms
Median time: 9.36ms ± 0.06ms
95th percentile: 14.35ms ± 0.09ms
99th percentile: 15.26ms ± 0.08ms
Max time: 19.22ms ± 2.73ms
Ops: 106.65 ± 0.69 ops/s. Best: 107.55 ops/s
Total: 9378.68ms ± 61.68ms. Best: 9298.03ms
Min time: 3.78ms ± 0.05ms
Mean time: 9.38ms ± 0.06ms
Median time: 9.38ms ± 0.09ms
95th percentile: 14.34ms ± 0.10ms
99th percentile: 15.32ms ± 0.13ms
Max time: 18.62ms ± 2.23ms
e2e_trip_ch Ops: 93.55 ± 0.92 ops/s. Best: 94.73 ops/s
Total: 10686.95ms ± 104.25ms. Best: 10556.33ms
Min time: 1.60ms ± 0.07ms
Mean time: 10.69ms ± 0.11ms
Median time: 10.17ms ± 0.12ms
95th percentile: 18.90ms ± 0.21ms
99th percentile: 21.03ms ± 0.12ms
Max time: 23.08ms ± 0.52ms
Ops: 98.77 ± 0.50 ops/s. Best: 99.37 ops/s
Total: 10124.83ms ± 55.26ms. Best: 10063.39ms
Min time: 1.48ms ± 0.11ms
Mean time: 10.13ms ± 0.05ms
Median time: 9.60ms ± 0.04ms
95th percentile: 18.32ms ± 0.10ms
99th percentile: 20.23ms ± 0.18ms
Max time: 21.81ms ± 0.35ms
e2e_trip_mld Ops: 56.24 ± 0.12 ops/s. Best: 56.41 ops/s
Total: 17782.15ms ± 38.61ms. Best: 17728.19ms
Min time: 1.69ms ± 0.31ms
Mean time: 17.78ms ± 0.04ms
Median time: 17.36ms ± 0.08ms
95th percentile: 29.03ms ± 0.15ms
99th percentile: 31.61ms ± 0.22ms
Max time: 37.87ms ± 4.96ms
Ops: 57.98 ± 0.42 ops/s. Best: 58.48 ops/s
Total: 17252.12ms ± 124.91ms. Best: 17099.96ms
Min time: 1.73ms ± 0.29ms
Mean time: 17.25ms ± 0.12ms
Median time: 16.78ms ± 0.12ms
95th percentile: 28.28ms ± 0.23ms
99th percentile: 30.52ms ± 0.31ms
Max time: 32.85ms ± 0.70ms
json-render String: 6.55793ms
Stringstream: 10.0107ms
Vector: 7.16709ms
String: 5.51503ms
Stringstream: 8.87155ms
Vector: 6.50866ms
match_ch Default radius:
4.66189ms/req at 82 coordinate
0.0568523ms/coordinate
Radius 10m:
16.1508ms/req at 82 coordinate
0.196961ms/coordinate
Default radius:
4.61361ms/req at 82 coordinate
0.0562635ms/coordinate
Radius 10m:
16.154ms/req at 82 coordinate
0.197ms/coordinate
match_mld Default radius:
3.02455ms/req at 82 coordinate
0.0368848ms/coordinate
Radius 10m:
11.5421ms/req at 82 coordinate
0.140757ms/coordinate
Default radius:
3.07529ms/req at 82 coordinate
0.0375035ms/coordinate
Radius 10m:
11.2965ms/req at 82 coordinate
0.137762ms/coordinate
osrm_contract Time: 99.46s Peak RAM: 203.04MB Time: 101.22s Peak RAM: 200.81MB
osrm_customize Time: 1.31s Peak RAM: 117.65MB Time: 1.30s Peak RAM: 117.65MB
osrm_extract Time: 11.81s Peak RAM: 428.05MB Time: 11.68s Peak RAM: 430.92MB
osrm_partition Time: 2.17s Peak RAM: 140.55MB Time: 2.08s Peak RAM: 147.05MB
packedvector random write:
std::vector 10041.2 ms
util::packed_vector 74046.4 ms
slowdown: 7.37425
random read:
std::vector 8637.92 ms
util::packed_vector 30419.5 ms
slowdown: 3.52163
random write:
std::vector 9889.09 ms
util::packed_vector 74228.4 ms
slowdown: 7.50609
random read:
std::vector 8532.31 ms
util::packed_vector 30632.2 ms
slowdown: 3.59014
random_match_ch 500 matches, default radius
ops: 194.85 ± 0.96 ops/s. best: 196.08ops/s.
total: 292.53 ± 1.44ms. best: 290.70ms.
avg: 5.13 ± 0.03ms
min: 0.15 ± 0.01ms
max: 27.49 ± 0.11ms
p99: 27.49 ± 0.11ms

500 matches, radius=10
ops: 57.46 ± 0.09 ops/s. best: 57.65ops/s.
total: 1113.78 ± 1.71ms. best: 1110.21ms.
avg: 17.40 ± 0.03ms
min: 0.15 ± 0.00ms
max: 241.89 ± 0.69ms
p99: 241.89 ± 0.69ms

500 matches, radius=20
ops: 13.77 ± 0.03 ops/s. best: 13.79ops/s.
total: 4721.60 ± 8.80ms. best: 4713.73ms.
avg: 72.64 ± 0.14ms
min: 0.30 ± 0.00ms
max: 1258.12 ± 3.08ms
p99: 1258.12 ± 3.08ms
500 matches, default radius
ops: 199.77 ± 0.75 ops/s. best: 200.39ops/s.
total: 285.34 ± 1.07ms. best: 284.45ms.
avg: 5.01 ± 0.02ms
min: 0.13 ± 0.01ms
max: 27.95 ± 0.05ms
p99: 27.95 ± 0.05ms

500 matches, radius=10
ops: 59.79 ± 0.09 ops/s. best: 59.94ops/s.
total: 1070.46 ± 1.69ms. best: 1067.73ms.
avg: 16.73 ± 0.03ms
min: 0.15 ± 0.00ms
max: 235.23 ± 0.63ms
p99: 235.23 ± 0.63ms

500 matches, radius=20
ops: 14.51 ± 0.03 ops/s. best: 14.57ops/s.
total: 4478.79 ± 9.33ms. best: 4461.55ms.
avg: 68.90 ± 0.14ms
min: 0.30 ± 0.00ms
max: 1164.68 ± 5.03ms
p99: 1164.68 ± 5.03ms
random_match_mld 500 matches, default radius
ops: 305.72 ± 1.46 ops/s. best: 307.53ops/s.
total: 186.45 ± 0.90ms. best: 185.35ms.
avg: 3.27 ± 0.02ms
min: 0.13 ± 0.01ms
max: 18.95 ± 0.02ms
p99: 18.95 ± 0.02ms

500 matches, radius=10
ops: 108.36 ± 0.25 ops/s. best: 108.60ops/s.
total: 590.66 ± 1.36ms. best: 589.30ms.
avg: 9.23 ± 0.02ms
min: 0.14 ± 0.00ms
max: 110.23 ± 0.20ms
p99: 110.23 ± 0.20ms

500 matches, radius=20
ops: 22.08 ± 0.02 ops/s. best: 22.11ops/s.
total: 2943.30 ± 3.31ms. best: 2940.29ms.
avg: 45.28 ± 0.05ms
min: 0.19 ± 0.00ms
max: 576.96 ± 1.57ms
p99: 576.96 ± 1.57ms
500 matches, default radius
ops: 309.24 ± 1.66 ops/s. best: 310.74ops/s.
total: 184.33 ± 1.00ms. best: 183.44ms.
avg: 3.23 ± 0.02ms
min: 0.12 ± 0.01ms
max: 18.77 ± 0.03ms
p99: 18.77 ± 0.03ms

500 matches, radius=10
ops: 109.47 ± 0.12 ops/s. best: 109.67ops/s.
total: 584.65 ± 0.65ms. best: 583.56ms.
avg: 9.14 ± 0.01ms
min: 0.14 ± 0.00ms
max: 109.38 ± 0.38ms
p99: 109.38 ± 0.38ms

500 matches, radius=20
ops: 22.28 ± 0.03 ops/s. best: 22.33ops/s.
total: 2917.24 ± 3.81ms. best: 2911.37ms.
avg: 44.88 ± 0.06ms
min: 0.20 ± 0.01ms
max: 570.68 ± 1.79ms
p99: 570.68 ± 1.79ms
random_nearest_ch 10000 nearest, number_of_results=1
ops: 24390.99 ± 168.19 ops/s. best: 24594.20ops/s.
total: 410.01 ± 2.88ms. best: 406.60ms.
avg: 0.04 ± 0.00ms
min: 0.01 ± 0.00ms
max: 0.18 ± 0.06ms
p99: 0.10 ± 0.00ms

10000 nearest, number_of_results=5
ops: 18855.05 ± 76.62 ops/s. best: 18956.82ops/s.
total: 530.37 ± 2.16ms. best: 527.51ms.
avg: 0.05 ± 0.00ms
min: 0.02 ± 0.00ms
max: 0.18 ± 0.03ms
p99: 0.11 ± 0.00ms

10000 nearest, number_of_results=10
ops: 14703.02 ± 144.10 ops/s. best: 14811.17ops/s.
total: 680.24 ± 6.78ms. best: 675.17ms.
avg: 0.07 ± 0.00ms
min: 0.03 ± 0.00ms
max: 0.22 ± 0.07ms
p99: 0.14 ± 0.01ms
10000 nearest, number_of_results=1
ops: 24699.28 ± 68.95 ops/s. best: 24758.05ops/s.
total: 404.87 ± 1.13ms. best: 403.91ms.
avg: 0.04 ± 0.00ms
min: 0.01 ± 0.00ms
max: 0.17 ± 0.04ms
p99: 0.10 ± 0.00ms

10000 nearest, number_of_results=5
ops: 18990.60 ± 88.79 ops/s. best: 19155.77ops/s.
total: 526.59 ± 2.46ms. best: 522.04ms.
avg: 0.05 ± 0.00ms
min: 0.02 ± 0.00ms
max: 0.15 ± 0.00ms
p99: 0.11 ± 0.00ms

10000 nearest, number_of_results=10
ops: 14975.05 ± 27.74 ops/s. best: 15032.93ops/s.
total: 667.78 ± 1.30ms. best: 665.21ms.
avg: 0.07 ± 0.00ms
min: 0.03 ± 0.00ms
max: 0.22 ± 0.06ms
p99: 0.13 ± 0.00ms
random_nearest_mld 10000 nearest, number_of_results=1
ops: 24672.22 ± 100.87 ops/s. best: 24797.98ops/s.
total: 405.32 ± 1.66ms. best: 403.26ms.
avg: 0.04 ± 0.00ms
min: 0.01 ± 0.00ms
max: 0.17 ± 0.04ms
p99: 0.10 ± 0.00ms

10000 nearest, number_of_results=5
ops: 18897.73 ± 53.95 ops/s. best: 18982.52ops/s.
total: 529.17 ± 1.51ms. best: 526.80ms.
avg: 0.05 ± 0.00ms
min: 0.02 ± 0.00ms
max: 0.15 ± 0.00ms
p99: 0.11 ± 0.00ms

10000 nearest, number_of_results=10
ops: 14992.33 ± 21.00 ops/s. best: 15035.90ops/s.
total: 667.01 ± 0.93ms. best: 665.07ms.
avg: 0.07 ± 0.00ms
min: 0.03 ± 0.00ms
max: 0.18 ± 0.01ms
p99: 0.13 ± 0.00ms
10000 nearest, number_of_results=1
ops: 24685.40 ± 111.09 ops/s. best: 24850.97ops/s.
total: 405.11 ± 1.80ms. best: 402.40ms.
avg: 0.04 ± 0.00ms
min: 0.01 ± 0.00ms
max: 0.16 ± 0.04ms
p99: 0.10 ± 0.00ms

10000 nearest, number_of_results=5
ops: 18981.09 ± 33.99 ops/s. best: 19020.69ops/s.
total: 526.84 ± 0.93ms. best: 525.74ms.
avg: 0.05 ± 0.00ms
min: 0.02 ± 0.00ms
max: 0.15 ± 0.00ms
p99: 0.11 ± 0.00ms

10000 nearest, number_of_results=10
ops: 15022.72 ± 19.93 ops/s. best: 15051.23ops/s.
total: 665.66 ± 0.89ms. best: 664.40ms.
avg: 0.07 ± 0.00ms
min: 0.03 ± 0.00ms
max: 0.18 ± 0.00ms
p99: 0.13 ± 0.00ms
random_route_ch 1000 routes, 3 coordinates, no alternatives, overview=full, steps=true
ops: 489.38 ± 4.52 ops/s. best: 495.68ops/s.
total: 2010.95 ± 18.44ms. best: 1985.17ms.
avg: 2.04 ± 0.02ms
min: 0.31 ± 0.01ms
max: 4.07 ± 0.41ms
p99: 3.19 ± 0.10ms

1000 routes, 2 coordinates, 3 alternatives, overview=full, steps=true
ops: 556.91 ± 4.84 ops/s. best: 565.09ops/s.
total: 1795.78 ± 15.33ms. best: 1769.63ms.
avg: 1.80 ± 0.02ms
min: 0.05 ± 0.00ms
max: 5.23 ± 0.06ms
p99: 3.86 ± 0.06ms

1000 routes, 3 coordinates, no alternatives, overview=false, steps=false
ops: 903.56 ± 25.73 ops/s. best: 944.50ops/s.
total: 1090.12 ± 30.70ms. best: 1041.82ms.
avg: 1.11 ± 0.03ms
min: 0.27 ± 0.00ms
max: 1.92 ± 0.14ms
p99: 1.62 ± 0.08ms

1000 routes, 2 coordinates, 3 alternatives, overview=false, steps=false
ops: 998.60 ± 5.89 ops/s. best: 1003.60ops/s.
total: 1001.45 ± 5.94ms. best: 996.41ms.
avg: 1.00 ± 0.01ms
min: 0.04 ± 0.00ms
max: 4.41 ± 0.22ms
p99: 2.21 ± 0.03ms
1000 routes, 3 coordinates, no alternatives, overview=full, steps=true
ops: 505.56 ± 3.16 ops/s. best: 510.19ops/s.
total: 1946.47 ± 12.15ms. best: 1928.68ms.
avg: 1.98 ± 0.01ms
min: 0.31 ± 0.01ms
max: 3.45 ± 0.25ms
p99: 2.90 ± 0.07ms

1000 routes, 2 coordinates, 3 alternatives, overview=full, steps=true
ops: 569.02 ± 3.12 ops/s. best: 574.29ops/s.
total: 1757.46 ± 9.61ms. best: 1741.30ms.
avg: 1.76 ± 0.01ms
min: 0.06 ± 0.00ms
max: 5.11 ± 0.49ms
p99: 4.00 ± 0.03ms

1000 routes, 3 coordinates, no alternatives, overview=false, steps=false
ops: 937.85 ± 9.55 ops/s. best: 946.84ops/s.
total: 1049.37 ± 10.77ms. best: 1039.24ms.
avg: 1.07 ± 0.01ms
min: 0.27 ± 0.00ms
max: 1.72 ± 0.08ms
p99: 1.52 ± 0.03ms

1000 routes, 2 coordinates, 3 alternatives, overview=false, steps=false
ops: 1025.64 ± 12.97 ops/s. best: 1043.77ops/s.
total: 975.19 ± 12.25ms. best: 958.07ms.
avg: 0.98 ± 0.01ms
min: 0.04 ± 0.00ms
max: 2.73 ± 0.05ms
p99: 2.22 ± 0.04ms
random_route_mld 1000 routes, 3 coordinates, no alternatives, overview=full, steps=true
ops: 225.63 ± 2.34 ops/s. best: 231.00ops/s.
total: 4361.87 ± 44.71ms. best: 4259.73ms.
avg: 4.43 ± 0.05ms
min: 0.32 ± 0.01ms
max: 9.91 ± 0.58ms
p99: 7.63 ± 0.17ms

1000 routes, 2 coordinates, 3 alternatives, overview=full, steps=true
ops: 221.00 ± 0.84 ops/s. best: 222.02ops/s.
total: 4525.07 ± 17.24ms. best: 4504.06ms.
avg: 4.53 ± 0.02ms
min: 0.05 ± 0.00ms
max: 11.32 ± 0.50ms
p99: 9.73 ± 0.12ms

1000 routes, 3 coordinates, no alternatives, overview=false, steps=false
ops: 296.28 ± 3.68 ops/s. best: 302.97ops/s.
total: 3321.85 ± 39.51ms. best: 3247.90ms.
avg: 3.38 ± 0.04ms
min: 0.29 ± 0.01ms
max: 7.96 ± 0.26ms
p99: 5.98 ± 0.10ms

1000 routes, 2 coordinates, 3 alternatives, overview=false, steps=false
ops: 269.76 ± 1.30 ops/s. best: 272.12ops/s.
total: 3707.05 ± 17.83ms. best: 3674.82ms.
avg: 3.71 ± 0.02ms
min: 0.04 ± 0.00ms
max: 10.75 ± 1.83ms
p99: 7.69 ± 0.09ms
1000 routes, 3 coordinates, no alternatives, overview=full, steps=true
ops: 243.24 ± 1.02 ops/s. best: 244.85ops/s.
total: 4045.40 ± 16.74ms. best: 4018.79ms.
avg: 4.11 ± 0.02ms
min: 0.30 ± 0.00ms
max: 9.08 ± 0.11ms
p99: 6.91 ± 0.05ms

1000 routes, 2 coordinates, 3 alternatives, overview=full, steps=true
ops: 231.67 ± 2.57 ops/s. best: 234.90ops/s.
total: 4317.19 ± 48.28ms. best: 4257.20ms.
avg: 4.32 ± 0.05ms
min: 0.05 ± 0.00ms
max: 10.38 ± 0.55ms
p99: 8.92 ± 0.17ms

1000 routes, 3 coordinates, no alternatives, overview=false, steps=false
ops: 318.31 ± 1.58 ops/s. best: 321.77ops/s.
total: 3091.40 ± 15.39ms. best: 3058.04ms.
avg: 3.14 ± 0.02ms
min: 0.28 ± 0.00ms
max: 7.49 ± 0.05ms
p99: 5.40 ± 0.08ms

1000 routes, 2 coordinates, 3 alternatives, overview=false, steps=false
ops: 286.05 ± 2.31 ops/s. best: 288.18ops/s.
total: 3496.20 ± 28.57ms. best: 3470.10ms.
avg: 3.50 ± 0.03ms
min: 0.04 ± 0.00ms
max: 7.73 ± 0.27ms
p99: 6.92 ± 0.05ms
random_table_ch 250 tables, 3 coordinates
ops: 1433.94 ± 8.66 ops/s. best: 1441.74ops/s.
total: 174.35 ± 1.08ms. best: 173.40ms.
avg: 0.70 ± 0.00ms
min: 0.45 ± 0.01ms
max: 1.08 ± 0.28ms
p99: 0.89 ± 0.06ms

250 tables, 25 coordinates
ops: 167.97 ± 0.64 ops/s. best: 168.77ops/s.
total: 1488.38 ± 5.70ms. best: 1481.27ms.
avg: 5.95 ± 0.02ms
min: 5.22 ± 0.04ms
max: 7.07 ± 0.41ms
p99: 6.70 ± 0.12ms

250 tables, 50 coordinates
ops: 82.81 ± 0.27 ops/s. best: 83.35ops/s.
total: 3018.85 ± 9.87ms. best: 2999.50ms.
avg: 12.08 ± 0.04ms
min: 11.18 ± 0.03ms
max: 14.18 ± 0.15ms
p99: 13.44 ± 0.23ms
250 tables, 3 coordinates
ops: 1410.76 ± 14.57 ops/s. best: 1422.10ops/s.
total: 177.24 ± 1.86ms. best: 175.80ms.
avg: 0.71 ± 0.01ms
min: 0.51 ± 0.01ms
max: 1.09 ± 0.27ms
p99: 0.90 ± 0.02ms

250 tables, 25 coordinates
ops: 165.24 ± 0.23 ops/s. best: 165.48ops/s.
total: 1512.93 ± 2.14ms. best: 1510.77ms.
avg: 6.05 ± 0.01ms
min: 5.39 ± 0.04ms
max: 6.63 ± 0.04ms
p99: 6.56 ± 0.01ms

250 tables, 50 coordinates
ops: 81.38 ± 0.08 ops/s. best: 81.51ops/s.
total: 3072.02 ± 3.21ms. best: 3067.25ms.
avg: 12.29 ± 0.01ms
min: 11.46 ± 0.06ms
max: 13.58 ± 0.26ms
p99: 13.23 ± 0.09ms
random_table_mld 250 tables, 3 coordinates
ops: 329.38 ± 1.47 ops/s. best: 330.66ops/s.
total: 759.02 ± 3.46ms. best: 756.06ms.
avg: 3.04 ± 0.01ms
min: 2.51 ± 0.01ms
max: 3.92 ± 0.29ms
p99: 3.62 ± 0.08ms

250 tables, 25 coordinates
ops: 36.37 ± 0.10 ops/s. best: 36.46ops/s.
total: 6873.77 ± 18.22ms. best: 6856.67ms.
avg: 27.50 ± 0.07ms
min: 25.49 ± 0.05ms
max: 32.93 ± 1.01ms
p99: 31.12 ± 0.28ms

250 tables, 50 coordinates
ops: 17.14 ± 0.07 ops/s. best: 17.26ops/s.
total: 14583.46 ± 56.37ms. best: 14487.70ms.
avg: 58.33 ± 0.23ms
min: 55.50 ± 0.19ms
max: 69.16 ± 4.64ms
p99: 64.28 ± 0.20ms
250 tables, 3 coordinates
ops: 334.16 ± 3.11 ops/s. best: 337.89ops/s.
total: 748.23 ± 6.99ms. best: 739.88ms.
avg: 2.99 ± 0.03ms
min: 2.49 ± 0.01ms
max: 3.85 ± 0.19ms
p99: 3.64 ± 0.13ms

250 tables, 25 coordinates
ops: 37.13 ± 0.09 ops/s. best: 37.30ops/s.
total: 6733.61 ± 15.90ms. best: 6702.75ms.
avg: 26.93 ± 0.06ms
min: 25.19 ± 0.10ms
max: 32.60 ± 3.50ms
p99: 29.44 ± 0.45ms

250 tables, 50 coordinates
ops: 17.57 ± 0.01 ops/s. best: 17.58ops/s.
total: 14230.82 ± 9.46ms. best: 14217.20ms.
avg: 56.92 ± 0.04ms
min: 54.54 ± 0.12ms
max: 62.22 ± 1.90ms
p99: 60.72 ± 1.12ms
random_trip_ch 250 trips, 3 coordinates
ops: 464.97 ± 7.09 ops/s. best: 476.29ops/s.
total: 537.83 ± 8.15ms. best: 524.90ms.
avg: 2.15 ± 0.03ms
min: 1.25 ± 0.03ms
max: 3.26 ± 0.39ms
p99: 2.99 ± 0.28ms

250 trips, 5 coordinates
ops: 305.66 ± 3.80 ops/s. best: 313.98ops/s.
total: 818.09 ± 10.04ms. best: 796.22ms.
avg: 3.27 ± 0.04ms
min: 2.22 ± 0.02ms
max: 4.59 ± 0.27ms
p99: 4.24 ± 0.20ms
250 trips, 3 coordinates
ops: 475.64 ± 5.33 ops/s. best: 481.88ops/s.
total: 525.69 ± 5.90ms. best: 518.80ms.
avg: 2.10 ± 0.02ms
min: 1.17 ± 0.01ms
max: 3.16 ± 0.44ms
p99: 2.78 ± 0.13ms

250 trips, 5 coordinates
ops: 304.55 ± 5.39 ops/s. best: 314.83ops/s.
total: 821.21 ± 14.37ms. best: 794.08ms.
avg: 3.28 ± 0.06ms
min: 2.11 ± 0.07ms
max: 4.86 ± 0.54ms
p99: 4.49 ± 0.45ms
random_trip_mld 250 trips, 3 coordinates
ops: 159.85 ± 1.63 ops/s. best: 162.69ops/s.
total: 1564.20 ± 15.29ms. best: 1536.63ms.
avg: 6.26 ± 0.06ms
min: 3.92 ± 0.08ms
max: 9.50 ± 0.23ms
p99: 8.82 ± 0.31ms

250 trips, 5 coordinates
ops: 102.69 ± 0.99 ops/s. best: 104.33ops/s.
total: 2434.80 ± 23.42ms. best: 2396.14ms.
avg: 9.74 ± 0.09ms
min: 6.77 ± 0.09ms
max: 13.44 ± 0.77ms
p99: 12.52 ± 0.31ms
250 trips, 3 coordinates
ops: 166.66 ± 1.50 ops/s. best: 169.16ops/s.
total: 1500.26 ± 13.33ms. best: 1477.93ms.
avg: 6.00 ± 0.05ms
min: 3.57 ± 0.06ms
max: 8.31 ± 0.50ms
p99: 7.84 ± 0.16ms

250 trips, 5 coordinates
ops: 108.00 ± 1.35 ops/s. best: 110.09ops/s.
total: 2315.21 ± 29.04ms. best: 2270.87ms.
avg: 9.26 ± 0.12ms
min: 6.64 ± 0.07ms
max: 11.52 ± 0.20ms
p99: 11.10 ± 0.27ms
route_ch 1000 routes, 3 coordinates, no alternatives, overview=full, steps=true
430.994ms
0.430994ms/req
1000 routes, 2 coordinates, 3 alternatives, overview=full, steps=true
513.333ms
0.513333ms/req
1000 routes, 3 coordinates, no alternatives, overview=false, steps=false
153.476ms
0.153476ms/req
1000 routes, 2 coordinates, 3 alternatives, overview=false, steps=false
138.604ms
0.138604ms/req
1000 routes, 3 coordinates, no alternatives, overview=full, steps=true
429.966ms
0.429966ms/req
1000 routes, 2 coordinates, 3 alternatives, overview=full, steps=true
527.15ms
0.52715ms/req
1000 routes, 3 coordinates, no alternatives, overview=false, steps=false
153.305ms
0.153305ms/req
1000 routes, 2 coordinates, 3 alternatives, overview=false, steps=false
136.246ms
0.136246ms/req
route_mld 1000 routes, 3 coordinates, no alternatives, overview=full, steps=true
573.652ms
0.573652ms/req
1000 routes, 2 coordinates, 3 alternatives, overview=full, steps=true
719.94ms
0.71994ms/req
1000 routes, 3 coordinates, no alternatives, overview=false, steps=false
295.898ms
0.295898ms/req
1000 routes, 2 coordinates, 3 alternatives, overview=false, steps=false
317.442ms
0.317442ms/req
1000 routes, 3 coordinates, no alternatives, overview=full, steps=true
567.221ms
0.567221ms/req
1000 routes, 2 coordinates, 3 alternatives, overview=full, steps=true
712.938ms
0.712938ms/req
1000 routes, 3 coordinates, no alternatives, overview=false, steps=false
292.13ms
0.29213ms/req
1000 routes, 2 coordinates, 3 alternatives, overview=false, steps=false
315.106ms
0.315106ms/req
rtree 1 result:
199.863ms -> 0.0199863 ms/query
10 results:
235.335ms -> 0.0235335 ms/query
1 result:
197.87ms -> 0.019787 ms/query
10 results:
233.155ms -> 0.0233155 ms/query

Copy link
Member

@SiarheiFedartsou SiarheiFedartsou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@@ -536,21 +536,13 @@ jobs:
echo "PKG_CONFIG_PATH=${OSRM_INSTALL_DIR}/lib/pkgconfig" >> $GITHUB_ENV
fi
popd
- name: Build example
Copy link
Member

@SiarheiFedartsou SiarheiFedartsou Jul 10, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@DennisOSRM just out of curiosity: do we now consider libosrm as something completely internal? I.e. do not guarantee backward compatibility between releases etc? I had some ideas of various performance optimisations (what I care a lot recently as you may noticed 😄) which could significantly complicate libosrm API, but if it would be completely internal it would ease things a lot 🤔

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems there are no production environments that use libosrm directly. it's one of those features that make sense on the surface of it, but in the end get zero usage. Happy to be convinced otherwise, tho.

@DennisOSRM
Copy link
Collaborator Author

Putting this change on hold. The library might be handy for some upcoming changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants