a-b-street / osm2lanes

A common library and set of test cases for transforming OSM tags to lane specifications
https://a-b-street.github.io/osm2lanes/
Apache License 2.0
34 stars 2 forks source link

Rust: Fix Benchmarking #122

Closed droogmic closed 2 years ago

droogmic commented 2 years ago

Switch back to upstream and fix runs outside of a PR.

github-actions[bot] commented 2 years ago

Benchmark for b84e9c0

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | tests/224637155 | 3.5±0.01µs | **3.4±0.00µs** | **-2.86%** | | tests/380103730 Japanese Expressway | 539.3±36.53µs | **495.6±73.27µs** | **-8.10%** | | tests/389654080 | 5.5±0.01µs | **5.4±0.01µs** | **-1.82%** | | tests/49207928 cycleway:BACKWARD=lane | 4.7±0.01µs | 4.7±0.00µs | 0.00% | | tests/8591383 a bidirectional cycleway, oneway:bicycle | 5.1±0.01µs | 5.1±0.01µs | 0.00% | | tests/898731283 | 3.8±0.00µs | **3.7±0.02µs** | **-2.63%** | | tests/bus:lanes:forward=designated\| | 4.1±0.00µs | 4.1±0.02µs | 0.00% | | tests/bus:lanes=designated\| | 4.1±0.01µs | 4.1±0.01µs | 0.00% | | tests/busway=lane | 4.6±0.01µs | 4.6±0.00µs | 0.00% | | tests/cycleway=lane | 3.8±0.00µs | 3.8±0.04µs | 0.00% | | tests/cycleway=opposite oneway=yes oneway:bicycle=no | 4.1±0.01µs | **4.0±0.02µs** | **-2.44%** | | tests/sidewalk:right=yes | 3.6±0.00µs | 3.6±0.02µs | 0.00% | | tests/sidewalk=both | 3.8±0.00µs | 3.8±0.01µs | 0.00% |