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
33 stars 2 forks source link

Add a test for #152 #169

Closed dabreegster closed 2 years ago

dabreegster commented 2 years ago

If this test is enabled, we panic

github-actions[bot] commented 2 years ago

Benchmark for 6ef1887

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | tests/224637155 | **4.8±0.17µs** | 5.2±0.09µs | **+8.33%** | | tests/380103730 Japanese Expressway | 7.1±0.11µs | 7.0±0.15µs | -1.41% | | tests/389654080 | 7.8±0.10µs | 7.9±0.17µs | +1.28% | | tests/49207928 cycleway:BACKWARD=lane | 6.5±0.16µs | 6.5±0.11µs | 0.00% | | tests/8591383 a bidirectional cycleway, oneway:bicycle | **7.2±0.09µs** | 7.3±0.17µs | **+1.39%** | | tests/bus:lanes=designated\| | 5.9±0.08µs | 5.9±0.08µs | 0.00% | | tests/busway=lane | **6.3±0.08µs** | 6.4±0.11µs | **+1.59%** | | tests/cycleway=lane | 5.6±0.11µs | 5.6±0.09µs | 0.00% | | tests/cycleway=opposite oneway=yes oneway:bicycle=no | 5.9±0.12µs | 5.9±0.10µs | 0.00% | | tests/sidewalk:right=yes | 5.2±0.10µs | 5.3±0.14µs | +1.92% | | tests/sidewalk=both | **5.5±0.12µs** | 5.7±0.11µs | **+3.64%** |
github-actions[bot] commented 2 years ago

Benchmark for eb2f4e6

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | tests/224637155 | 4.4±0.01µs | **3.9±0.01µs** | **-11.36%** | | tests/380103730 Japanese Expressway | **6.0±0.02µs** | 6.1±0.01µs | **+1.67%** | | tests/389654080 | 6.3±0.00µs | 6.3±0.01µs | 0.00% | | tests/49207928 cycleway:BACKWARD=lane | 4.9±0.00µs | 4.9±0.01µs | 0.00% | | tests/8591383 a bidirectional cycleway, oneway:bicycle | 6.1±0.07µs | 6.1±0.01µs | 0.00% | | tests/bus:lanes=designated\| | 5.2±0.02µs | **5.1±0.01µs** | **-1.92%** | | tests/busway=lane | 4.8±0.01µs | 4.8±0.00µs | 0.00% | | tests/cycleway=lane | **4.3±0.01µs** | 4.7±0.26µs | **+9.30%** | | tests/cycleway=opposite oneway=yes oneway:bicycle=no | 4.0±0.03µs | 4.0±0.00µs | 0.00% | | tests/sidewalk:right=yes | 4.5±0.00µs | **3.9±0.00µs** | **-13.33%** | | tests/sidewalk=both | 4.7±0.00µs | 4.7±0.00µs | 0.00% |