Smirkey
powerboxes
BlogDocsChangelog

fix: diou distance speed test

#46Merged
Comparing
fix/diou_distance_speed_test
(
f28fda2
) with
main
(
d12aefe
)
CodSpeed Performance Gauge
0%
Untouched
149

Benchmarks

Passed

parallel giou distance benchmark
powerboxesrs/benches/bench_iou.rs::benches::parallel_giou_distance_benchmark
CodSpeed Performance Gauge
+16%
487.4 µs421.5 µs
parallel iou distance benchmark
powerboxesrs/benches/bench_iou.rs::benches::parallel_iou_distance_benchmark
CodSpeed Performance Gauge
+8%
313.6 µs289.9 µs
test_nms_many_boxes[10000]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+4%
196.9 ms189.1 ms
test_parallel_iou_distance[float64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+4%
269.2 µs259.3 µs
test_box_convert_xywh_cxcywh[int32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+1%
37.1 µs36.7 µs
test_box_convert_xyxy_xywh[uint8]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+1%
36.6 µs36.2 µs
test_box_convert_xyxy_cxcywh[uint8]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+1%
35.3 µs34.9 µs
test_box_convert_xywh_xyxy[uint16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+1%
35.7 µs35.3 µs
test_box_convert_xywh_cxcywh[uint8]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+1%
35.5 µs35.1 µs
test_iou_distance[int32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+1%
274.8 µs272.7 µs
test_box_convert_xyxy_cxcywh[uint16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+1%
35.8 µs35.5 µs
test_box_convert_xywh_cxcywh[float32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+1%
36.9 µs36.7 µs
test_box_convert_xywh_cxcywh[uint16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+1%
35.9 µs35.7 µs
test_boxes_areas[float64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
39.2 µs39 µs
test_box_convert_xyxy_xywh[int64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
40.7 µs40.5 µs
test_rtree_nms_many_boxes[20000]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
15.9 ms15.8 ms
test_boxes_areas[int64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
36.3 µs36.1 µs
test_box_convert_xyxy_cxcywh[int32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
37 µs36.8 µs
test_rtree_nms_many_boxes[5000]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
3.5 ms3.5 ms
test_box_convert_xyxy_cxcywh[int16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
35.9 µs35.8 µs
test_box_convert_xywh_xyxy[int64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
40.7 µs40.5 µs
test_nms[uint8]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
76.3 µs76 µs
test_box_convert_cxcywh_xyxy[int32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
37.1 µs37 µs
test_box_convert_xywh_xyxy[uint8]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
35 µs34.9 µs
test_box_convert_cxcywh_xywh[int64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
41.1 µs41 µs
test_box_convert_cxcywh_xywh[uint32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
36.9 µs36.8 µs
test_box_convert_cxcywh_xywh[uint64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
40.8 µs40.7 µs
test_nms[uint64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
81.5 µs81.3 µs
test_nms[float64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
77.7 µs77.5 µs
test_box_convert_xyxy_xywh[float64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
43.6 µs43.5 µs
test_box_convert_xywh_cxcywh[int64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
41 µs40.9 µs
test_box_convert_cxcywh_xywh[int32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
36.9 µs36.8 µs
test_box_convert_cxcywh_xyxy[uint64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
40.7 µs40.6 µs
test_boxes_areas[int32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
34.5 µs34.5 µs
test_box_convert_xyxy_cxcywh[uint32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
36.7 µs36.7 µs
test_box_convert_cxcywh_xywh[float64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
40.8 µs40.7 µs
test_box_convert_cxcywh_xyxy[uint8]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
35.2 µs35.2 µs
test_box_convert_xyxy_xywh[int32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
36.6 µs36.5 µs
test_giou_distance[float64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
268.6 µs268.3 µs
test_box_convert_xyxy_cxcywh[int64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
40.9 µs40.9 µs
test_box_convert_cxcywh_xyxy[uint32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
36.8 µs36.7 µs
test_parallel_giou_distance[float64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
269.7 µs269.4 µs
test_tiou_distance[float32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
197.9 µs197.7 µs
test_parallel_giou_distance[uint64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
401.6 µs401.3 µs
test_giou_distance[int32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
376.1 µs375.9 µs
test_rotated_iou_distance[float64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
12.8 ms12.8 ms
test_parallel_giou_distance[uint32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
376.1 µs375.9 µs
test_tiou_distance[float64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
198.2 µs198.1 µs
test_giou_distance[uint32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
375.9 µs375.8 µs
test_tiou_distance[int32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
224.8 µs224.8 µs
test_iou_distance[int64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
284.3 µs284.2 µs
test_parallel_giou_distance[uint8]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
403.6 µs403.5 µs
test_nms_many_boxes[5000]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
49.7 ms49.7 ms
test_box_convert_xywh_xyxy[uint64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
40.6 µs40.6 µs
test_giou_distance[int64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
381.8 µs381.7 µs
test_box_convert_xywh_xyxy[float32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
36.7 µs36.7 µs
test_parallel_giou_distance[int32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
375.9 µs375.9 µs
test_parallel_giou_distance[int16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
368.6 µs368.6 µs
test_nms_many_boxes[20000]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
765.9 ms765.9 ms
test_giou_distance[uint64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
401.5 µs401.5 µs
giou distance benchmark
powerboxesrs/benches/bench_iou.rs::benches::giou_distance_benchmark
CodSpeed Performance Gauge
0%
270 µs270 µs
test_masks_to_boxes
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
9.4 ms9.4 ms
test_rtree_nms[float64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
93.4 µs93.4 µs
test_iou_distance[int16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
296.2 µs296.2 µs
iou distance benchmark
powerboxesrs/benches/bench_iou.rs::benches::iou_distance_benchmark
CodSpeed Performance Gauge
0%
213.3 µs213.3 µs
test_rtree_nms[float32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
92.4 µs92.4 µs
test_rtree_nms_many_boxes[10000]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
7.5 ms7.5 ms
test_box_convert_xyxy_xywh[uint16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
35.7 µs35.7 µs
test_giou_distance[uint8]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
402.9 µs403.1 µs
test_iou_distance[uint16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
295.8 µs295.9 µs
test_parallel_giou_distance[int64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
381.8 µs381.9 µs
test_remove_small_boxes[uint8]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
35.5 µs35.5 µs
test_parallel_giou_distance[uint16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
368.6 µs368.7 µs
test_box_convert_xywh_xyxy[int32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
36.6 µs36.6 µs
test_parallel_giou_distance[float32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
268.2 µs268.3 µs
test_box_convert_cxcywh_xywh[uint8]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
35.2 µs35.2 µs
test_box_convert_xywh_cxcywh[int16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
35.8 µs35.8 µs
test_tiou_distance[uint8]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
206.7 µs206.8 µs
test_nms[int64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
81.5 µs81.6 µs
test_box_convert_xywh_xyxy[uint32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
37.3 µs37.3 µs
test_giou_distance[float32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
268.9 µs269 µs
test_iou_distance[uint64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
295.5 µs295.6 µs
test_giou_distance[int16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
368.4 µs368.6 µs
test_rotated_giou_distance[float64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
12.3 ms12.3 ms
test_tiou_distance[uint16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
196.9 µs197 µs
test_rotated_tiou_distance[float64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
192.5 µs192.6 µs
test_giou_distance[uint16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
368.5 µs368.8 µs
test_remove_small_boxes[int64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
36.6 µs36.7 µs
test_iou_distance[float32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
188.4 µs188.6 µs
test_boxes_areas[uint16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
33.9 µs33.9 µs
test_tiou_distance[uint64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
321.6 µs322 µs
test_box_convert_xywh_cxcywh[float64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
40.9 µs40.9 µs
test_iou_distance[uint32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
272.5 µs272.9 µs
test_box_convert_cxcywh_xywh[float32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
37 µs37.1 µs
test_nms[uint32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
79.4 µs79.5 µs
test_tiou_distance[int64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
275.6 µs276 µs
test_tiou_distance[int16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
189.9 µs190.2 µs
test_box_convert_cxcywh_xyxy[float64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
40.7 µs40.8 µs
test_tiou_distance[uint32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
243.9 µs244.4 µs
test_parallel_iou_distance[int32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
365.4 µs366.1 µs
test_box_convert_cxcywh_xyxy[int16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
36 µs36.1 µs
test_boxes_areas[uint32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
34.4 µs34.5 µs
test_rtree_nms[int64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
94.2 µs94.4 µs
test_box_convert_xyxy_cxcywh[uint64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
40.8 µs40.9 µs
test_remove_small_boxes[float64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
39.5 µs39.6 µs
test_box_convert_xywh_xyxy[float64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
40.7 µs40.8 µs
test_remove_small_boxes[uint16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
33.8 µs33.9 µs
test_box_convert_xyxy_xywh[float32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
36.8 µs36.9 µs
test_box_convert_xywh_cxcywh[uint32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
36.7 µs36.8 µs
test_boxes_areas[uint64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
36.5 µs36.6 µs
test_remove_small_boxes[float32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
35.3 µs35.4 µs
test_parallel_iou_distance[float32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
256.9 µs257.8 µs
test_box_convert_cxcywh_xyxy[int64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
40.8 µs40.9 µs
test_box_convert_xywh_cxcywh[uint64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
40.7 µs40.8 µs
test_box_convert_cxcywh_xyxy[uint16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
35.5 µs35.7 µs
test_nms[uint16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
78.3 µs78.7 µs
test_box_convert_xyxy_xywh[uint64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
40.6 µs40.8 µs
test_remove_small_boxes[uint32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
35.8 µs36 µs
test_boxes_areas[float32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
-1%
34.6 µs34.7 µs
test_rtree_nms[int32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
-1%
90.3 µs90.8 µs
test_rtree_nms_many_boxes[1000]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
-1%
630 µs633.4 µs
test_nms[int32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
-1%
79.1 µs79.5 µs
test_remove_small_boxes[int32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
-1%
35.1 µs35.3 µs
test_box_convert_xyxy_xywh[uint32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
-1%
36.7 µs36.9 µs
test_box_convert_cxcywh_xywh[int16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
-1%
35.9 µs36.1 µs
test_rtree_nms[int16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
-1%
87.6 µs88.2 µs
test_box_convert_xyxy_xywh[int16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
-1%
35.4 µs35.7 µs
test_remove_small_boxes[uint64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
-1%
36.5 µs36.7 µs
test_nms[int16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
-1%
77.8 µs78.3 µs
test_box_convert_xyxy_cxcywh[float64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
-1%
40.6 µs40.8 µs
test_boxes_areas[uint8]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
-1%
34.7 µs34.9 µs
test_nms_many_boxes[1000]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
-1%
1.8 ms1.8 ms
test_iou_distance[uint8]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
-1%
289.4 µs291.5 µs
test_remove_small_boxes[int16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
-1%
33.8 µs34 µs
test_box_convert_cxcywh_xywh[uint16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
-1%
35.6 µs35.9 µs
test_boxes_areas[int16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
-1%
33.6 µs33.8 µs
test_box_convert_xywh_xyxy[int16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
-1%
35.3 µs35.6 µs
test_box_convert_cxcywh_xyxy[float32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
-1%
38.2 µs38.5 µs
test_nms[float32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
-1%
71.6 µs72.3 µs
test_box_convert_xyxy_cxcywh[float32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
-1%
36.9 µs37.2 µs
test_parallel_iou_distance[uint32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
-2%
372 µs378.1 µs
test_iou_distance[float64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
-2%
192 µs195.6 µs
test_parallel_iou_distance[int16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
-2%
403.6 µs411.7 µs
test_parallel_iou_distance[uint64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
-3%
373.7 µs386.8 µs
test_diou_distance[float64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
-5%
191.8 µs201.1 µs
test_diou_distance[float32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
-5%
192.3 µs201.8 µs
test_parallel_iou_distance[int64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
-5%
363.4 µs383.7 µs
test_parallel_iou_distance[uint8]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
-6%
373.1 µs398.2 µs
test_parallel_iou_distance[uint16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
-7%
397.8 µs425.6 µs

Commits

Click on a commit to change the comparison range
Base
main
d12aefe
-0.1%
fix: diou distance speed test
f28fda2
2 years ago
by Smirkey
© 2026 CodSpeed Technology
Home Terms Privacy Docs