Benchmarks of ordito.bounds against every library that computes the same thing. Each chart shows the time of every library relative to ordito on CUDA (1x, in green): a longer bar took longer. The table under each chart lists every input the function was measured on. See Benchmarks for how to read and reproduce these numbers.
Time relative to ordito (CUDA), geometric mean over the bounds functions both implement; in parentheses, the number of functions. Log scale. Runs stopped at the time limit are left out.Values
Library
Time relative to ordito
Functions compared
ordito faster in
PyVista
0.14x
3
1
MeshLib
1.1x
1
1
PyTorch3D (CUDA)
1.9x
1
1
Open3D
9.6x
8
8
trimesh
120x
2
2
libigl
127x
3
3
aabb
dragon (871 414 faces) · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
PyVista
1.2 µs
0.02x
ordito (CUDA)
55.9 µs
1x
MeshLib
74.6 µs
1.3x
PyTorch3D (CUDA)
128.8 µs
2.3x
Open3D
860.0 µs
15x
libigl
9.69 ms
173x
trimesh
13.93 ms
249x
All inputs
Input
ordito (CUDA)
libigl
MeshLib
Open3D
PyTorch3D (CUDA)
PyVista
trimesh
sphere_small
47.4 µs
bunny_decimated
54.4 µs
213.9 µs
16.0 µs
22.0 µs
134.7 µs
1.6 µs
311.7 µs
bunny
58.6 µs
807.2 µs
21.6 µs
72.5 µs
119.8 µs
1.3 µs
1.16 ms
dragon
55.9 µs
9.69 ms
74.6 µs
860.0 µs
128.8 µs
1.2 µs
13.93 ms
happy_buddha
62.3 µs
12.05 ms
83.6 µs
1.04 ms
130.1 µs
1.2 µs
17.08 ms
lucy
281.7 µs
710.25 ms
2.26 ms
90.68 ms
314.1 µs
1.2 µs
439.05 ms
enclosing_diagonal
dragon (871 414 faces) · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
PyVista
0.9 µs
0.01x
ordito (CUDA)
60.8 µs
1x
libigl
4.18 ms
69x
All inputs
Input
ordito (CUDA)
libigl
PyVista
sphere_small
73.4 µs
bunny_decimated
66.5 µs
134.7 µs
0.8 µs
bunny
59.6 µs
401.1 µs
0.7 µs
dragon
60.8 µs
4.18 ms
0.9 µs
happy_buddha
65.6 µs
8.37 ms
0.9 µs
lucy
299.3 µs
353.46 ms
1.2 µs
points_in_aabb
sphere_large (327 680 faces) · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
61.6 µs
1x
Open3D
968.6 µs
16x
All inputs
Input
ordito (CUDA)
Open3D
sphere_small
47.7 µs
16.7 µs
sphere_med
43.2 µs
248.9 µs
sphere_large
61.6 µs
968.6 µs
points_in_aabb_mask
sphere_large (327 680 faces) · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
24.4 µs
1x
Open3D
537.8 µs
22x
All inputs
Input
ordito (CUDA)
Open3D
sphere_small
28.1 µs
8.7 µs
sphere_med
25.4 µs
129.6 µs
sphere_large
24.4 µs
537.8 µs
points_in_obb
sphere_large (327 680 faces) · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
41.0 µs
1x
Open3D
636.0 µs
16x
All inputs
Input
ordito (CUDA)
Open3D
sphere_small
61.6 µs
15.5 µs
sphere_med
39.3 µs
171.1 µs
sphere_large
41.0 µs
636.0 µs
points_in_obb_mask
sphere_large (327 680 faces) · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
16.3 µs
1x
Open3D
645.5 µs
40x
All inputs
Input
ordito (CUDA)
Open3D
sphere_small
19.1 µs
14.4 µs
sphere_med
26.7 µs
170.0 µs
sphere_large
16.3 µs
645.5 µs
crop_points
sphere_large (327 680 faces) · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
45.4 µs
1x
Open3D
581.7 µs
13x
All inputs
Input
ordito (CUDA)
Open3D
sphere_small
70.5 µs
15.5 µs
sphere_med
44.9 µs
138.2 µs
sphere_large
45.4 µs
581.7 µs
crop_mesh
sphere_large (327 680 faces) · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
64.8 µs
1x
Open3D
10.56 ms
163x
All inputs
Input
ordito (CUDA)
Open3D
sphere_small
79.2 µs
196.4 µs
sphere_med
66.8 µs
2.08 ms
sphere_large
64.8 µs
10.56 ms
oriented_bounding_box
dragon (871 414 faces) · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
1.22 ms
1x
PyVista
19.65 ms
16x
trimesh
154.05 ms
126x
Open3D
2.035 s
1667x
libigl
2.378 s
1947x
All inputs
Input
ordito (CUDA)
libigl
Open3D
PyVista
trimesh
sphere_small
386.9 µs
bunny_decimated
458.5 µs
8.28 ms
189.69 ms
3.90 ms
30.94 ms
bunny
776.1 µs
34.06 ms
905.55 ms
4.70 ms
66.67 ms
dragon
1.22 ms
2.378 s
2.035 s
19.65 ms
154.05 ms
happy_buddha
1.38 ms
3.094 s
11.339 s
23.23 ms
307.15 ms
lucy
8.19 ms
128.464 s
3.163 s
973.70 ms
2.515 s
Without a reference
No other library computes these, so they have no comparison. ordito (CUDA)'s median time on the largest input it was measured on: