SPB Git

Repository Public BSD-3-Clause

BENCHMARKS.md 3.6 KB

# Measurements

Every number here was measured, with the command and the machine. Nothing was measured on an iPhone or iPad yet: frame time, memory, energy, cold start and guidance on a device are open (see STATUS.md).

# Region builds — build node (Mac Studio M4 Max, 16 cores, 64 GB, macOS 26.4), 2026-11-25

Infrastructure/build-region.sh build <id>; OpenStreetMap data of 2026-11-24T21:21:23Z; tools already installed and tile sources already downloaded.

Region Extract Tiles Search index Routing graph Package Total time
ca-qc-quebec-city (bbox -71.75,46.60,-70.85,47.10) 21.4 MB, 2 s 24.1 MB (z0–15), 53 s 6.2 MB, 1 s, peak 263 MB 10.6 MB, 1 s, peak 223 MB 41.0 MB 57 s
ca-qc-montreal (bbox -74.35,45.15,-73.15,45.95) 96.9 MB, 3 s 96.1 MB (z0–15), 59 s 30.1 MB, 7 s, peak 976 MB 95.4 MB, 2 s, peak 981 MB 221.6 MB 72 s
ca-qc (province, 1.17 GB extract) — 1.446 GB (z0–14), 129 s 90.6 MB, 21 s, peak 3.50 GB 193.6 MB, 12 s, peak 2.82 GB 1.731 GB 164 s

The province at zoom 0–15 was 2.61 GB of tiles; zoom 14 was chosen for the published package (the renderer overzooms). World base map (zoom 0–6): 12.7 MB, 80 s.

# Distribution — public path, 2026-11-25

From the development Mac (Wi-Fi, same site as the web node) to https://www.orixlab.dev/maps/v1/: curl -H "Accept-Encoding: identity" …/ca-qc-quebec-city-2026.11.24.orixmap → 40 996 296 bytes in 0.60 s (68 MB/s), SHA-256 equal to the catalog's; a Range: bytes=1000000-1999999 request returned 206 with identical bytes; the catalog ETag equals the SHA-256 of the document. Throughput from outside this network is not measured.

# Packages — Mac M5 Max, release build, warm cache

Package Verify Install Peak memory
Synthetic 50 MB 0.018 s 0.05 s 9 MB / 13 MB
Synthetic 300 MB 0.11 s 0.15 s 9 MB / 13 MB
Montréal 236 MB (real components) 0.08 s 0.13 s 9 MB / 13 MB
Province 1.73 GB (build node, orix-package verify) 0.57 s — —

# Search — province index (86.4 MiB), Mac M5 Max, warm cache

orix-geocoder-bench --index … bench --rounds 10, worst of three runs.

Set Queries p50 p95 max
Full search 44 1.1 ms 3.5 ms 4.2 ms
Suggestions 48 1.8 ms 14.9 ms 32.9 ms
Reverse geocoding 12 0.2 ms 0.5 ms 0.5 ms

# Routing — Mac M5 Max, median of 5 runs, machine under load

orix-routing-build bench --graph … --set montreal|province --verify --repeat 5

Graph Mode Pairs p50 p95 max
Montréal car, urban 16 1.5 ms 11.1 ms 11.1 ms
Montréal car, cross-city 16 35 ms 137 ms 137 ms
Montréal bicycle 32 2.7 ms 119 ms 146 ms
Montréal pedestrian 30 4.7 ms 50 ms 67 ms
Province car 52 18.5 ms 318 ms 484 ms
Province bicycle 32 1.6 ms 239 ms 280 ms
Province pedestrian 30 2.9 ms 79 ms 367 ms

Gaspé → Gatineau by car: 1 111.5 km, 308 ms, 2.1 M states settled, 37.7 MB of search memory. Montréal → Québec City: 253.9 km, 2 h 51, 183 ms. A* and Dijkstra agree on all 208 real pairs compared.

# Application

Measure Value Where
App bundle (Release, arm64) 41 MB; IPA 37 MB Trial archive of 2026-11-25
Of which bundled data world base map 12.7 MB, world labels 1.6 MB, glyphs 13 MB
Frame time p50 / p95 / p99 not measured needs a device (MapController.frameStatistics collects it)
Memory, energy, cold start not measured needs a device
Files main
Menu

Theme