Benchmarks of ordito.intersection 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 intersection 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
MeshLib
4x
8
5
libigl
61x
2
2
potpourri3d
99x
2
2
trimesh
167x
3
3
PyVista
934x
5
5
mesh_with_plane
dragon (871 414 faces) · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
61.2 µs
1x
MeshLib
855.6 µs
14x
trimesh
35.94 ms
588x
All inputs
Input
ordito (CUDA)
MeshLib
trimesh
sphere_small
70.2 µs
bunny_decimated
58.2 µs
210.0 µs
660.6 µs
bunny
50.1 µs
115.1 µs
2.22 ms
dragon
61.2 µs
855.6 µs
35.94 ms
happy_buddha
66.8 µs
390.4 µs
42.66 ms
lucy
3.53 ms
6.50 ms
832.93 ms
slice_mesh_with_plane
dragon (871 414 faces) · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
140.8 µs
1x
MeshLib
59.42 ms
422x
trimesh
121.19 ms
861x
All inputs
Input
ordito (CUDA)
MeshLib
trimesh
sphere_small
94.5 µs
bunny_decimated
113.2 µs
8.26 ms
1.55 ms
bunny
110.6 µs
9.82 ms
6.02 ms
dragon
140.8 µs
59.42 ms
121.19 ms
happy_buddha
157.9 µs
70.38 ms
140.29 ms
lucy
9.59 ms
3.336 s
3.065 s
split_mesh_with_plane
dragon (871 414 faces) · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
186.9 µs
1x
MeshLib
56.94 ms
305x
PyVista
323.11 ms
1729x
All inputs
Input
ordito (CUDA)
MeshLib
PyVista
sphere_small
146.4 µs
bunny_decimated
148.6 µs
8.13 ms
6.96 ms
bunny
176.1 µs
9.35 ms
23.19 ms
dragon
186.9 µs
56.94 ms
323.11 ms
happy_buddha
198.5 µs
69.39 ms
414.30 ms
lucy
2.71 ms
3.190 s
56.991 s
split_faces_along_field
dragon (871 414 faces) · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
282.7 µs
1x
PyVista
338.94 ms
1199x
All inputs
Input
ordito (CUDA)
PyVista
sphere_small
222.7 µs
bunny_decimated
168.5 µs
6.99 ms
bunny
194.5 µs
25.22 ms
dragon
282.7 µs
338.94 ms
happy_buddha
280.7 µs
439.01 ms
lucy
6.89 ms
64.413 s
clip_mesh_with_field
dragon (871 414 faces) · cap=False · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
162.2 µs
1x
PyVista
118.71 ms
732x
All inputs
Input
ordito (CUDA)
PyVista
sphere_small cap=False
105.6 µs
sphere_small cap=True
936.9 µs
bunny_decimated cap=False
205.1 µs
2.33 ms
bunny_decimated cap=True
1.62 ms
bunny cap=False
121.6 µs
9.21 ms
bunny cap=True
2.26 ms
dragon cap=False
162.2 µs
118.71 ms
dragon cap=True
4.89 ms
happy_buddha cap=False
181.2 µs
165.70 ms
happy_buddha cap=True
4.35 ms
lucy cap=False
10.13 ms
28.564 s
lucy cap=True
24.19 ms
mesh_with_mesh
dragon (871 414 faces) · offset_fraction=0.05 · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
2.42 ms
1x
MeshLib
11.35 ms
4.7x
PyVista
6.120 s
2529x
All inputs
Input
ordito (CUDA)
MeshLib
PyVista
sphere_small offset_fraction=0.05
389.6 µs
sphere_small offset_fraction=0.6
311.5 µs
bunny_decimated offset_fraction=0.05
409.2 µs
606.2 µs
82.29 ms
bunny_decimated offset_fraction=0.6
277.8 µs
186.3 µs
44.59 ms
bunny offset_fraction=0.05
501.9 µs
1.74 ms
345.65 ms
bunny offset_fraction=0.6
308.7 µs
609.3 µs
217.01 ms
dragon offset_fraction=0.05
2.42 ms
11.35 ms
6.120 s
dragon offset_fraction=0.6
1.49 ms
7.46 ms
3.478 s
happy_buddha offset_fraction=0.05
3.14 ms
13.68 ms
10.537 s
happy_buddha offset_fraction=0.6
1.88 ms
9.27 ms
4.503 s
lucy offset_fraction=0.05
64.86 ms
285.06 ms
136.389 s
lucy offset_fraction=0.6
53.70 ms
265.71 ms
127.843 s
mesh_collision_pairs
dragon (871 414 faces) · offset_fraction=0.6 · setup=full · time relative to ordito, log scaleValues