Smirkey
powerboxes
BlogDocsChangelog

chore(powerboxesrs): stop using useless epsilon value

#56Merged
Comparing
remove/utils/eps
(
cbf16d8
) with
main
(
3d615a6
)
CodSpeed Performance Gauge
+3%
Untouched
149

Benchmarks

Passed

test_tiou_distance[int64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+16%
300.5 µs260 µs
test_box_convert_xywh_xyxy[int64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+15%
36.8 µs31.9 µs
test_box_convert_xyxy_cxcywh[float64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+15%
37.6 µs32.6 µs
test_box_convert_xywh_xyxy[float64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+15%
37 µs32.2 µs
test_box_convert_cxcywh_xywh[int64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+14%
37.2 µs32.5 µs
test_parallel_iou_distance[float32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+11%
251.9 µs227 µs
test_parallel_iou_distance[uint16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+11%
422.6 µs381.6 µs
test_parallel_iou_distance[int16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+10%
411.2 µs373 µs
test_parallel_iou_distance[int32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+9%
361.9 µs332.7 µs
test_iou_distance[int16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+8%
296.4 µs275.4 µs
test_iou_distance[uint16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+8%
296.2 µs275.4 µs
test_boxes_areas[uint8]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+6%
32.3 µs30.3 µs
test_box_convert_cxcywh_xyxy[uint8]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+6%
30 µs28.3 µs
test_box_convert_xywh_xyxy[uint16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+6%
30 µs28.3 µs
test_box_convert_cxcywh_xyxy[uint16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+6%
30.3 µs28.6 µs
test_box_convert_xywh_cxcywh[uint16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+6%
30.2 µs28.5 µs
test_box_convert_xywh_cxcywh[int64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+6%
34.1 µs32.3 µs
test_box_convert_xyxy_xywh[uint16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+6%
30 µs28.4 µs
test_box_convert_xyxy_cxcywh[int32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+6%
32.8 µs31.1 µs
test_box_convert_xyxy_cxcywh[uint16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+6%
30.3 µs28.7 µs
test_box_convert_cxcywh_xywh[uint8]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+6%
29.9 µs28.3 µs
test_box_convert_xywh_cxcywh[uint32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+5%
32.7 µs31 µs
test_remove_small_boxes[uint16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+5%
32.1 µs30.5 µs
test_box_convert_cxcywh_xyxy[uint32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+5%
32.7 µs31 µs
test_box_convert_xywh_xyxy[uint8]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+5%
29.6 µs28.1 µs
test_box_convert_xywh_xyxy[int32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+5%
32.1 µs30.5 µs
test_box_convert_cxcywh_xywh[float64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+5%
37.7 µs35.8 µs
test_box_convert_xywh_cxcywh[uint8]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+5%
29.9 µs28.4 µs
test_box_convert_xyxy_cxcywh[uint8]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+5%
30 µs28.5 µs
test_box_convert_cxcywh_xywh[uint16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+5%
30.2 µs28.7 µs
test_box_convert_cxcywh_xywh[int32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+5%
32.6 µs31 µs
test_box_convert_xyxy_xywh[uint8]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+5%
31.1 µs29.6 µs
test_tiou_distance[uint64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+5%
315.5 µs300.3 µs
test_boxes_areas[uint32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+5%
31.6 µs30.1 µs
test_box_convert_xywh_cxcywh[int32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+5%
32.7 µs31.2 µs
test_box_convert_cxcywh_xywh[uint32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+5%
32.6 µs31 µs
test_parallel_iou_distance[uint8]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+5%
380.9 µs363.1 µs
test_box_convert_xywh_xyxy[float32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+5%
32.4 µs30.9 µs
test_box_convert_xyxy_xywh[int16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+5%
29.9 µs28.5 µs
test_box_convert_xyxy_cxcywh[uint32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+5%
32.7 µs31.2 µs
test_boxes_areas[float32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+5%
31.4 µs30 µs
test_box_convert_cxcywh_xywh[int16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+5%
30.3 µs28.9 µs
test_box_convert_cxcywh_xyxy[float32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+5%
34 µs32.5 µs
test_box_convert_cxcywh_xywh[float32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+5%
32.7 µs31.2 µs
test_box_convert_xyxy_cxcywh[float32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+5%
32.7 µs31.2 µs
test_boxes_areas[float64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+5%
35 µs33.4 µs
test_box_convert_cxcywh_xyxy[int16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+5%
30.3 µs28.9 µs
test_box_convert_xywh_xyxy[uint32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+5%
33.1 µs31.7 µs
test_boxes_areas[int16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+5%
31.1 µs29.8 µs
test_iou_distance[uint8]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+5%
286.4 µs274 µs
test_remove_small_boxes[uint32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+5%
33.1 µs31.6 µs
test_box_convert_xyxy_xywh[int64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+5%
33.4 µs31.9 µs
test_box_convert_xyxy_cxcywh[int16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+5%
30.5 µs29.2 µs
test_boxes_areas[uint16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+4%
31.1 µs29.8 µs
test_boxes_areas[int64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+4%
32.1 µs30.7 µs
test_box_convert_xyxy_cxcywh[int64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+4%
37.6 µs36.1 µs
test_remove_small_boxes[uint8]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+4%
33.4 µs32 µs
test_remove_small_boxes[uint64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+4%
33.1 µs31.8 µs
test_nms[uint64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+4%
57.7 µs55.3 µs
test_box_convert_cxcywh_xyxy[uint64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+4%
34.1 µs32.7 µs
test_box_convert_xywh_xyxy[int16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+4%
29.8 µs28.6 µs
test_remove_small_boxes[float64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+4%
35.9 µs34.5 µs
test_box_convert_xyxy_xywh[int32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+4%
32.1 µs30.9 µs
test_remove_small_boxes[float32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+4%
32.1 µs30.9 µs
test_box_convert_xywh_cxcywh[int16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+4%
30.2 µs29 µs
test_remove_small_boxes[int32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+4%
32.2 µs31 µs
test_box_convert_xyxy_cxcywh[uint64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+4%
34.3 µs33 µs
test_box_convert_xyxy_xywh[float32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+4%
32.3 µs31.1 µs
test_box_convert_cxcywh_xyxy[int32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+4%
32.4 µs31.2 µs
test_remove_small_boxes[int64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+4%
33 µs31.8 µs
test_remove_small_boxes[int16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+4%
31.8 µs30.6 µs
test_box_convert_xywh_cxcywh[float32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+4%
32.5 µs31.3 µs
test_nms[uint8]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+4%
54.6 µs52.7 µs
test_boxes_areas[uint64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+4%
32.2 µs31.1 µs
test_box_convert_cxcywh_xyxy[int64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+4%
37.2 µs35.9 µs
test_box_convert_cxcywh_xyxy[float64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+4%
33.8 µs32.6 µs
test_nms[float32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+3%
49.3 µs47.7 µs
test_box_convert_xyxy_xywh[uint32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+3%
32.1 µs31 µs
test_nms[float64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+3%
54.1 µs52.4 µs
test_parallel_iou_distance[uint64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+3%
390.7 µs378.7 µs
test_box_convert_xywh_xyxy[uint64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+3%
33.4 µs32.4 µs
test_nms[uint16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+3%
56.3 µs54.8 µs
test_parallel_giou_distance[int32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+3%
375.1 µs365 µs
test_giou_distance[int32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+3%
374.9 µs365.1 µs
test_boxes_areas[int32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+3%
30.9 µs30.1 µs
test_parallel_iou_distance[float64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+3%
256.3 µs249.7 µs
test_nms[int16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+3%
56.2 µs54.8 µs
test_nms[uint32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+3%
56.7 µs55.3 µs
test_nms[int64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+2%
56.5 µs55.2 µs
test_nms[int32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+2%
56.5 µs55.2 µs
test_box_convert_cxcywh_xywh[uint64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+2%
37 µs36.3 µs
test_parallel_giou_distance[int64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+2%
379.3 µs372.1 µs
test_giou_distance[int64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+2%
379.3 µs372.2 µs
test_parallel_giou_distance[uint64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+2%
404.6 µs397.4 µs
test_giou_distance[uint64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+2%
404.6 µs397.5 µs
test_tiou_distance[int16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+2%
186.2 µs182.9 µs
test_tiou_distance[uint16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+2%
193.3 µs190.1 µs
test_tiou_distance[float64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+2%
191.8 µs188.7 µs
test_iou_distance[uint32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+2%
271.7 µs267.4 µs
test_tiou_distance[float32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+2%
192.8 µs189.7 µs
test_tiou_distance[uint8]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+2%
203.7 µs200.5 µs
test_iou_distance[int32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+2%
271.9 µs267.7 µs
test_iou_distance[int64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+2%
276.2 µs272.1 µs
test_tiou_distance[uint32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+1%
239.9 µs236.5 µs
test_iou_distance[uint64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+1%
287.5 µs283.5 µs
test_rotated_tiou_distance[float64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+1%
207 µs204.3 µs
test_tiou_distance[int32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+1%
219.7 µs217 µs
iou distance benchmark
powerboxesrs/benches/bench_iou.rs::benches::iou_distance_benchmark
CodSpeed Performance Gauge
+1%
213.3 µs211 µs
test_diou_distance[float64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+1%
198.4 µs196.5 µs
test_iou_distance[float64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+1%
192.8 µs191 µs
test_diou_distance[float32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+1%
200.1 µs198.3 µs
test_iou_distance[float32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+1%
186.8 µs185.3 µs
test_giou_distance[float64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+1%
268.8 µs266.7 µs
test_parallel_giou_distance[float64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+1%
269.7 µs267.6 µs
giou distance benchmark
powerboxesrs/benches/bench_iou.rs::benches::giou_distance_benchmark
CodSpeed Performance Gauge
+1%
269.9 µs267.9 µs
test_giou_distance[float32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+1%
270.9 µs268.9 µs
test_parallel_giou_distance[float32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
+1%
269.8 µs267.9 µs
test_parallel_giou_distance[uint8]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
410 µs408.3 µs
test_parallel_giou_distance[uint32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
374.8 µs373.2 µs
test_giou_distance[uint8]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
409.4 µs408 µs
test_giou_distance[uint32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
374.9 µs373.6 µs
test_nms_many_boxes[5000]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
30.5 ms30.5 ms
test_nms_many_boxes[1000]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
995.9 µs994.3 µs
test_nms_many_boxes[20000]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
482.3 ms482.1 ms
test_masks_to_boxes
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
8.8 ms8.8 ms
test_rtree_nms[float64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
126.3 µs126.3 µs
test_nms_many_boxes[10000]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
122.5 ms122.6 ms
test_rtree_nms[int64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
122 µs122.4 µs
test_rtree_nms[int32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
0%
120.1 µs120.7 µs
test_parallel_iou_distance[uint32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
-1%
350.1 µs352.2 µs
test_rtree_nms[int16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
-1%
118.3 µs119.4 µs
parallel giou distance benchmark
powerboxesrs/benches/bench_iou.rs::benches::parallel_giou_distance_benchmark
CodSpeed Performance Gauge
-1%
422.9 µs427.1 µs
parallel iou distance benchmark
powerboxesrs/benches/bench_iou.rs::benches::parallel_iou_distance_benchmark
CodSpeed Performance Gauge
-1%
274.9 µs277.7 µs
test_rtree_nms[float32]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
-1%
123.5 µs124.8 µs
test_rotated_iou_distance[float64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
-1%
12.9 ms13 ms
test_rotated_giou_distance[float64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
-1%
12.4 ms12.6 ms
test_parallel_iou_distance[int64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
-2%
355.2 µs363.3 µs
test_parallel_giou_distance[uint16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
-2%
371.7 µs381.1 µs
test_giou_distance[int16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
-3%
371.5 µs381.1 µs
test_giou_distance[uint16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
-3%
371.6 µs381.2 µs
test_parallel_giou_distance[int16]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
-3%
371.4 µs381.1 µs
test_rtree_nms_many_boxes[1000]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
-4%
1.2 ms1.3 ms
test_rtree_nms_many_boxes[5000]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
-4%
7.5 ms7.9 ms
test_rtree_nms_many_boxes[20000]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
-4%
35.7 ms37.3 ms
test_rtree_nms_many_boxes[10000]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
-5%
15.9 ms16.7 ms
test_box_convert_xyxy_xywh[float64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
-5%
36.9 µs38.7 µs
test_box_convert_xywh_cxcywh[uint64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
-5%
33.9 µs35.8 µs
test_box_convert_xywh_cxcywh[float64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
-6%
33.8 µs35.9 µs
test_box_convert_xyxy_xywh[uint64]
bindings/tests/test_speed.py
CodSpeed Performance Gauge
-6%
33.4 µs35.5 µs

Commits

Click on a commit to change the comparison range
Base
main
3d615a6
+3.01%
chore(powerboxesrs): stop using useless epsilon value
cbf16d8
2 years ago
by Smirkey
© 2026 CodSpeed Technology
Home Terms Privacy Docs