Benchmarks of ordito.voxels 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 voxels 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
PyTorch3D (CUDA)
0.78x
2
1
MeshLib
4.3x
4
2
SciPy
5.3x
1
1
PyVista
21x
7
7
libigl
24x
2
2
trimesh
24x
6
6
Open3D
65x
4
4
splat_onto_grid
sphere_large (327 680 faces) · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
PyTorch3D (CUDA)
110.6 µs
0.95x
ordito (CUDA)
116.9 µs
1x
All inputs
Input
ordito (CUDA)
PyTorch3D (CUDA)
sphere_small
51.9 µs
119.9 µs
sphere_med
58.7 µs
108.4 µs
sphere_large
116.9 µs
110.6 µs
sample_grid_trilinear
sphere_large (327 680 faces) · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
PyTorch3D (CUDA)
16.3 µs
0.43x
ordito (CUDA)
37.7 µs
1x
All inputs
Input
ordito (CUDA)
PyTorch3D (CUDA)
sphere_small
41.8 µs
13.1 µs
sphere_med
36.7 µs
15.4 µs
sphere_large
37.7 µs
16.3 µs
voxelize_mesh
dragon (871 414 faces) · divisor=64 · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
419.3 µs
1x
MeshLib
106.97 ms
255x
Open3D
156.97 ms
374x
PyVista
264.49 ms
631x
trimesh
656.12 ms
1565x
All inputs
Input
ordito (CUDA)
MeshLib
Open3D
PyVista
trimesh
sphere_small divisor=64
310.8 µs
sphere_small divisor=256
385.1 µs
bunny_decimated divisor=64
328.5 µs
17.06 ms
7.56 ms
10.52 ms
57.38 ms
bunny_decimated divisor=256
409.2 µs
63.47 ms
36.59 ms
24.87 ms
1.256 s
bunny divisor=64
325.2 µs
23.60 ms
14.51 ms
27.80 ms
77.39 ms
bunny divisor=256
388.1 µs
93.49 ms
54.34 ms
51.65 ms
1.675 s
dragon divisor=64
419.3 µs
106.97 ms
156.97 ms
264.49 ms
656.12 ms
dragon divisor=256
525.8 µs
188.97 ms
239.11 ms
339.64 ms
2.851 s
happy_buddha divisor=64
412.8 µs
128.19 ms
192.74 ms
329.43 ms
819.70 ms
happy_buddha divisor=256
539.7 µs
210.25 ms
292.19 ms
419.80 ms
3.216 s
lucy divisor=64
2.67 ms
2.458 s
4.045 s
9.194 s
25.915 s
lucy divisor=256
2.95 ms
2.727 s
4.494 s
10.973 s
52.425 s
voxelize_points
dragon (871 414 faces) · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
390.0 µs
1x
Open3D
7.50 ms
19x
All inputs
Input
ordito (CUDA)
Open3D
sphere_small
347.2 µs
bunny_decimated
305.3 µs
1.01 ms
bunny
300.4 µs
2.00 ms
dragon
390.0 µs
7.50 ms
happy_buddha
380.5 µs
9.13 ms
lucy
741.2 µs
222.84 ms
voxel_down_sample
dragon (871 414 faces) · divisor=64 · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
210.8 µs
1x
MeshLib
5.91 ms
28x
Open3D
6.64 ms
31x
All inputs
Input
ordito (CUDA)
MeshLib
Open3D
sphere_small divisor=64
209.9 µs
sphere_small divisor=256
269.6 µs
bunny_decimated divisor=64
209.9 µs
280.0 µs
490.0 µs
bunny_decimated divisor=256
209.9 µs
15.28 ms
749.1 µs
bunny divisor=64
240.0 µs
837.6 µs
1.03 ms
bunny divisor=256
199.6 µs
15.87 ms
4.63 ms
dragon divisor=64
210.8 µs
5.91 ms
6.64 ms
dragon divisor=256
220.6 µs
12.95 ms
18.37 ms
happy_buddha divisor=64
223.3 µs
7.06 ms
8.11 ms
happy_buddha divisor=256
239.6 µs
13.28 ms
20.54 ms
lucy divisor=64
1.50 ms
111.71 ms
230.74 ms
lucy divisor=256
1.46 ms
135.41 ms
242.34 ms
occupancy_at_points
dragon (871 414 faces) · n_queries=10000 · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
24.2 µs
1x
Open3D
339.9 µs
14x
All inputs
Input
ordito (CUDA)
Open3D
sphere_small n_queries=10000
27.4 µs
sphere_small n_queries=1000000
31.4 µs
bunny_decimated n_queries=10000
27.6 µs
324.8 µs
bunny_decimated n_queries=1000000
29.2 µs
34.39 ms
bunny n_queries=10000
22.9 µs
368.6 µs
bunny n_queries=1000000
28.4 µs
39.30 ms
dragon n_queries=10000
24.2 µs
339.9 µs
dragon n_queries=1000000
30.5 µs
38.41 ms
happy_buddha n_queries=10000
27.2 µs
340.4 µs
happy_buddha n_queries=1000000
31.0 µs
40.59 ms
lucy n_queries=10000
24.7 µs
399.4 µs
lucy n_queries=1000000
33.2 µs
40.80 ms
dilate
dragon (871 414 faces) · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
MeshLib
72.7 µs
0.22x
ordito (CUDA)
330.5 µs
1x
trimesh
1.50 ms
4.5x
PyVista
1.75 ms
5.3x
All inputs
Input
ordito (CUDA)
MeshLib
PyVista
trimesh
sphere_small
373.3 µs
bunny_decimated
312.1 µs
94.4 µs
2.02 ms
1.76 ms
bunny
313.8 µs
89.1 µs
1.82 ms
1.69 ms
dragon
330.5 µs
72.7 µs
1.75 ms
1.50 ms
happy_buddha
320.4 µs
62.0 µs
1.63 ms
1.22 ms
lucy
319.6 µs
135.5 µs
1.79 ms
1.03 ms
closing
dragon (871 414 faces) · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
459.1 µs
1x
trimesh
2.25 ms
4.9x
PyVista
2.87 ms
6.3x
All inputs
Input
ordito (CUDA)
PyVista
trimesh
sphere_small
468.9 µs
bunny_decimated
469.2 µs
3.81 ms
2.71 ms
bunny
437.4 µs
3.38 ms
2.70 ms
dragon
459.1 µs
2.87 ms
2.25 ms
happy_buddha
453.3 µs
2.93 ms
1.87 ms
lucy
455.9 µs
3.45 ms
2.11 ms
opening
dragon (871 414 faces) · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
403.7 µs
1x
SciPy
2.28 ms
5.6x
PyVista
2.93 ms
7.3x
All inputs
Input
ordito (CUDA)
PyVista
SciPy
sphere_small
442.3 µs
bunny_decimated
407.1 µs
3.60 ms
2.60 ms
bunny
385.5 µs
3.73 ms
2.57 ms
dragon
403.7 µs
2.93 ms
2.28 ms
happy_buddha
404.3 µs
2.96 ms
1.82 ms
lucy
414.2 µs
3.40 ms
1.67 ms
fill_cavities
dragon (871 414 faces) · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
357.0 µs
1x
trimesh
3.51 ms
9.8x
All inputs
Input
ordito (CUDA)
trimesh
sphere_small
467.3 µs
bunny_decimated
397.2 µs
4.49 ms
bunny
387.8 µs
4.62 ms
dragon
357.0 µs
3.51 ms
happy_buddha
368.1 µs
2.67 ms
lucy
397.0 µs
2.73 ms
fill_orthographic
dragon (871 414 faces) · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
356.1 µs
1x
trimesh
3.69 ms
10x
All inputs
Input
ordito (CUDA)
trimesh
sphere_small
410.6 µs
bunny_decimated
368.8 µs
4.13 ms
bunny
363.9 µs
4.17 ms
dragon
356.1 µs
3.69 ms
happy_buddha
382.7 µs
2.72 ms
lucy
373.6 µs
2.34 ms
to_boxes
dragon (871 414 faces) · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
423.0 µs
1x
PyVista
15.05 ms
36x
trimesh
21.65 ms
51x
All inputs
Input
ordito (CUDA)
PyVista
trimesh
sphere_small
433.1 µs
bunny_decimated
435.1 µs
12.70 ms
19.67 ms
bunny
403.8 µs
12.69 ms
20.05 ms
dragon
423.0 µs
15.05 ms
21.65 ms
happy_buddha
434.3 µs
14.57 ms
22.96 ms
lucy
440.5 µs
10.13 ms
15.10 ms
voxel_corners
dragon (871 414 faces) · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
355.0 µs
1x
libigl
4.36 ms
12x
All inputs
Input
ordito (CUDA)
libigl
sphere_small
372.3 µs
bunny_decimated
337.9 µs
3.62 ms
bunny
350.7 µs
3.72 ms
dragon
355.0 µs
4.36 ms
happy_buddha
351.4 µs
4.30 ms
lucy
369.4 µs
2.79 ms
grid_points
resolution=64 · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
28.0 µs
1x
libigl
1.51 ms
54x
PyVista
2.92 ms
104x
All inputs
Input
ordito (CUDA)
libigl
PyVista
resolution=64
28.0 µs
1.51 ms
2.92 ms
resolution=256
169.2 µs
erode
dragon (871 414 faces) · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
MeshLib
55.1 µs
0.16x
ordito (CUDA)
336.6 µs
1x
PyVista
1.62 ms
4.8x
All inputs
Input
ordito (CUDA)
MeshLib
PyVista
sphere_small
328.6 µs
bunny_decimated
319.5 µs
60.7 µs
1.79 ms
bunny
315.9 µs
53.7 µs
1.73 ms
dragon
336.6 µs
55.1 µs
1.62 ms
happy_buddha
334.4 µs
45.9 µs
1.64 ms
lucy
332.7 µs
41.0 µs
1.81 ms
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: