Avatar for the Smirkey user
Smirkey
powerboxes
BlogDocsChangelog

perf: improve rotation code

#69Merged
Comparing
perf/rotation
(
8efc0e9
) with
main
(
d71d704
)
CodSpeed Performance Gauge
-29%
Improvement
2
Regression
1
Untouched
146
New
6

Benchmarks

155 total
test_rotated_iou_distance[float64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
×5.8
12.8 ms2.2 ms
test_rotated_giou_distance[float64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
×5.6
12.3 ms2.2 ms
rotated giou distance benchmark
powerboxesrs/benches/bench_iou.rs::benches::rotated_giou_distance_benchmark
CodSpeed Performance Gauge
N/A
N/A916.4 µs
parallel rotated iou distance benchmark
powerboxesrs/benches/bench_iou.rs::benches::parallel_rotated_iou_distance_benchmark
CodSpeed Performance Gauge
N/A
N/A805.7 µs
parallel rotated giou distance benchmark
powerboxesrs/benches/bench_iou.rs::benches::parallel_rotated_giou_distance_benchmark
CodSpeed Performance Gauge
N/A
N/A802.5 µs
parallel rotated tiou distance benchmark
powerboxesrs/benches/bench_iou.rs::benches::parallel_rotated_tiou_distance_benchmark
CodSpeed Performance Gauge
N/A
N/A218 µs
rotated iou distance benchmark
powerboxesrs/benches/bench_iou.rs::benches::rotated_iou_distance_benchmark
CodSpeed Performance Gauge
N/A
N/A890.6 µs
rotated tiou distance benchmark
powerboxesrs/benches/bench_iou.rs::benches::rotated_tiou_distance_benchmark
CodSpeed Performance Gauge
N/A
N/A138 µs
parallel giou distance benchmark
powerboxesrs/benches/bench_iou.rs::benches::parallel_giou_distance_benchmark
CodSpeed Performance Gauge
-29%
360.1 µs508.2 µs
test_parallel_iou_distance[uint8]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+10%
369.6 µs336.4 µs
test_parallel_iou_distance[float64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+4%
260.8 µs250.6 µs
test_box_convert_cxcywh_xywh[float64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+3%
30.7 µs29.7 µs
test_parallel_iou_distance[float32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+3%
239.4 µs231.9 µs
test_box_convert_xyxy_cxcywh[float64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+3%
30.7 µs29.7 µs
test_box_convert_xyxy_xywh[uint64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+3%
30.1 µs29.3 µs
test_box_convert_xyxy_xywh[float64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+2%
33 µs32.2 µs
test_box_convert_cxcywh_xyxy[int64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+2%
30.5 µs29.9 µs
test_remove_small_boxes[float32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+1%
29.4 µs29.1 µs
test_box_convert_xywh_cxcywh[float64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+1%
30.5 µs30.3 µs
test_nms_many_boxes[1000]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+1%
1.2 ms1.2 ms
test_box_convert_xywh_xyxy[uint8]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+1%
26.3 µs26.1 µs
test_box_convert_xyxy_xywh[uint16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+1%
26.7 µs26.6 µs
test_box_convert_xywh_xyxy[float64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+1%
30.2 µs30 µs
test_box_convert_xywh_xyxy[int32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+1%
28.6 µs28.5 µs
test_box_convert_xywh_cxcywh[int64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+1%
30.7 µs30.5 µs

Commits

Click on a commit to change the comparison range
Base
main
d71d704
-29.14%
perf: improve rotation code
8efc0e9
5 days ago
by Smirkey
© 2026 CodSpeed Technology
Home Terms Privacy Docs