Avatar for the Smirkey user
Smirkey
powerboxes
BlogDocsChangelog

fix: rotated_giou_distance formula + add shapely correctness tests

#71Merged
Comparing
more_tests
(
d9b02c2
) with
main
(
8c08239
)
CodSpeed Performance Gauge
-21%
Regression
1
Untouched
166
Skipped
1

Benchmarks

168 total
parallel giou distance benchmark
powerboxesrs/benches/bench_iou.rs::benches::parallel_giou_distance_benchmark
CodSpeed Performance Gauge
-21%
372.1 µs470.8 µs
test_parallel_iou_distance[float32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+15%
245 µs213.8 µs
test_rotated_giou_distance[float64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+14%
2.2 ms1.9 ms
test_parallel_iou_distance[float64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+11%
277.8 µs250.6 µs
test_parallel_iou_distance[uint8]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+3%
356.4 µs346.4 µs
parallel rotated iou distance benchmark
powerboxesrs/benches/bench_iou.rs::benches::parallel_rotated_iou_distance_benchmark
CodSpeed Performance Gauge
+2%
802.3 µs785.2 µs
test_box_convert_xyxy_xywh[int64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+2%
30.4 µs29.7 µs
test_parallel_iou_distance[int32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+2%
337.2 µs332 µs
test_box_convert_xyxy_cxcywh[float64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+2%
30.6 µs30.2 µs
test_nms_many_boxes[1000]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+1%
1.5 ms1.4 ms
test_rotated_iou_distance[float64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+1%
2.2 ms2.2 ms
test_box_convert_cxcywh_xywh[uint32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+1%
29.2 µs29 µs
rotated giou distance benchmark
powerboxesrs/benches/bench_iou.rs::benches::rotated_giou_distance_benchmark
CodSpeed Performance Gauge
0%
916.3 µs912.3 µs
test_rtree_nms_many_boxes[5000]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
10.1 ms10 ms
test_diou_distance[float64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
217.4 µs216.6 µs
test_box_convert_xywh_xyxy[uint8]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
26.6 µs26.5 µs
test_box_convert_xywh_cxcywh[int16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
27.4 µs27.3 µs
test_box_convert_xywh_xyxy[int16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
26.9 µs26.8 µs
test_parallel_giou_distance[float64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
225 µs224.4 µs
test_giou_distance[int16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
213.7 µs213.1 µs
test_tiou_distance[uint8]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
181.3 µs180.8 µs
test_iou_distance[float64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
228 µs227.4 µs
test_tiou_distance[uint16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
171.4 µs170.9 µs
test_iou_distance[float32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
223.4 µs222.8 µs
test_parallel_giou_distance[float32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
224.2 µs223.6 µs

Commits

Click on a commit to change the comparison range
Base
main
8c08239
-20.97%
fix: rotated_giou_distance formula + add shapely correctness tests
d9b02c2
3 months ago
by Smirkey
© 2026 CodSpeed Technology
Home Terms Privacy Docs