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
manifold3d
0.50x
1
0
MeshLib
1.9x
8
4
libigl
65x
2
2
potpourri3d
107x
2
2
trimesh
197x
3
3
PyVista
486x
7
7
mesh_with_plane
dragon (871 414 faces) · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
51.5 µs
1x
MeshLib
553.4 µs
11x
trimesh
35.77 ms
694x
PyVista
60.84 ms
1181x
All inputs
Input
ordito (CUDA)
MeshLib
PyVista
trimesh
sphere_small
90.1 µs
bunny_decimated
60.1 µs
59.9 µs
1.58 ms
660.3 µs
bunny
54.1 µs
98.7 µs
5.42 ms
2.23 ms
dragon
51.5 µs
553.4 µs
60.84 ms
35.77 ms
happy_buddha
65.6 µs
191.7 µs
76.21 ms
42.59 ms
lucy
382.4 µs
2.30 ms
2.184 s
851.68 ms
slice_mesh_with_plane
dragon (871 414 faces) · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
140.7 µs
1x
MeshLib
27.27 ms
194x
trimesh
120.24 ms
854x
All inputs
Input
ordito (CUDA)
MeshLib
trimesh
sphere_small
102.8 µs
bunny_decimated
106.2 µs
5.95 ms
1.48 ms
bunny
129.0 µs
2.47 ms
5.87 ms
dragon
140.7 µs
27.27 ms
120.24 ms
happy_buddha
163.6 µs
32.01 ms
140.47 ms
lucy
8.03 ms
3.851 s
3.147 s
split_mesh_with_plane
dragon (871 414 faces) · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
190.1 µs
1x
MeshLib
25.58 ms
135x
PyVista
330.25 ms
1738x
All inputs
Input
ordito (CUDA)
MeshLib
PyVista
sphere_small
153.2 µs
bunny_decimated
149.2 µs
5.84 ms
6.66 ms
bunny
133.5 µs
2.12 ms
22.66 ms
dragon
190.1 µs
25.58 ms
330.25 ms
happy_buddha
195.8 µs
31.24 ms
420.36 ms
lucy
2.70 ms
3.728 s
56.070 s
split_faces_along_field
dragon (871 414 faces) · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
282.8 µs
1x
PyVista
336.90 ms
1191x
All inputs
Input
ordito (CUDA)
PyVista
sphere_small
228.5 µs
bunny_decimated
164.4 µs
6.81 ms
bunny
191.9 µs
24.41 ms
dragon
282.8 µs
336.90 ms
happy_buddha
288.3 µs
435.12 ms
lucy
6.23 ms
62.370 s
clip_mesh_with_field
dragon (871 414 faces) · cap=False · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
169.2 µs
1x
PyVista
114.56 ms
677x
All inputs
Input
ordito (CUDA)
PyVista
sphere_small cap=False
97.0 µs
sphere_small cap=True
802.1 µs
bunny_decimated cap=False
90.5 µs
2.34 ms
bunny_decimated cap=True
1.39 ms
bunny cap=False
103.8 µs
9.18 ms
bunny cap=True
2.05 ms
dragon cap=False
169.2 µs
114.56 ms
dragon cap=True
4.20 ms
happy_buddha cap=False
177.2 µs
159.36 ms
happy_buddha cap=True
3.97 ms
lucy cap=False
8.74 ms
27.915 s
lucy cap=True
21.75 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.07 ms
1x
MeshLib
3.14 ms
1.5x
PyVista
6.000 s
2901x
All inputs
Input
ordito (CUDA)
MeshLib
PyVista
sphere_small offset_fraction=0.05
372.6 µs
sphere_small offset_fraction=0.6
281.0 µs
bunny_decimated offset_fraction=0.05
403.3 µs
358.6 µs
81.97 ms
bunny_decimated offset_fraction=0.6
286.5 µs
36.7 µs
45.25 ms
bunny offset_fraction=0.05
481.2 µs
781.4 µs
339.46 ms
bunny offset_fraction=0.6
299.3 µs
46.7 µs
214.26 ms
dragon offset_fraction=0.05
2.07 ms
3.14 ms
6.000 s
dragon offset_fraction=0.6
1.36 ms
145.0 µs
3.408 s
happy_buddha offset_fraction=0.05
2.74 ms
3.78 ms
10.235 s
happy_buddha offset_fraction=0.6
1.72 ms
175.8 µs
4.461 s
lucy offset_fraction=0.05
54.28 ms
21.23 ms
137.099 s
lucy offset_fraction=0.6
48.57 ms
5.41 ms
127.702 s
mesh_collision_pairs
dragon (871 414 faces) · offset_fraction=0.6 · setup=full · time relative to ordito, log scaleValues