Benchmarks of ordito.triangles 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 triangles 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)
1.4x
1
1
MeshLib
12x
2
2
MeshLab
54x
2
2
Open3D
73x
1
1
NumPy
390x
1
1
libigl
453x
5
5
PyVista
507x
4
4
potpourri3d
958x
1
1
trimesh
1434x
6
6
face_normals_and_areas
dragon (871 414 faces) · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
24.1 µs
1x
PyTorch3D (CUDA)
36.8 µs
1.5x
MeshLib
1.01 ms
42x
Open3D
5.36 ms
222x
libigl
5.69 ms
236x
MeshLab
12.32 ms
510x
PyVista
55.33 ms
2291x
potpourri3d
81.99 ms
3395x
trimesh
89.24 ms
3696x
All inputs
Input
ordito (CUDA)
libigl
MeshLab
MeshLib
Open3D
potpourri3d
PyTorch3D (CUDA)
PyVista
trimesh
sphere_small
28.1 µs
bunny_decimated
22.9 µs
92.0 µs
180.0 µs
32.5 µs
83.0 µs
976.6 µs
24.2 µs
1.39 ms
701.2 µs
bunny
18.2 µs
531.9 µs
581.6 µs
97.9 µs
401.7 µs
4.57 ms
24.0 µs
4.97 ms
3.49 ms
dragon
24.1 µs
5.69 ms
12.32 ms
1.01 ms
5.36 ms
81.99 ms
36.8 µs
55.33 ms
89.24 ms
happy_buddha
26.5 µs
7.25 ms
15.69 ms
1.50 ms
7.17 ms
104.56 ms
41.9 µs
68.83 ms
113.33 ms
lucy
650.6 µs
475.18 ms
509.73 ms
154.49 ms
273.29 ms
3.664 s
1.07 ms
2.319 s
2.759 s
face_angles
dragon (871 414 faces) · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
31.3 µs
1x
libigl
84.71 ms
2703x
PyVista
121.66 ms
3883x
trimesh
231.94 ms
7402x
All inputs
Input
ordito (CUDA)
libigl
PyVista
trimesh
sphere_small
21.2 µs
bunny_decimated
27.3 µs
1.54 ms
2.76 ms
2.37 ms
bunny
20.1 µs
6.20 ms
8.75 ms
9.96 ms
dragon
31.3 µs
84.71 ms
121.66 ms
231.94 ms
happy_buddha
48.2 µs
105.45 ms
153.31 ms
277.84 ms
lucy
582.8 µs
3.172 s
4.513 s
6.659 s
face_quality
saddle (34 848 faces) · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
23.5 µs
1x
MeshLab
451.6 µs
19x
PyVista
2.23 ms
95x
libigl
38.36 ms
1629x
All inputs
Input
ordito (CUDA)
libigl
MeshLab
PyVista
saddle
23.5 µs
38.36 ms
451.6 µs
2.23 ms
saddle_graded
21.2 µs
38.35 ms
454.4 µs
2.17 ms
barycentric_to_points
dragon (871 414 faces) · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
21.3 µs
1x
trimesh
72.18 ms
3386x
All inputs
Input
ordito (CUDA)
trimesh
sphere_small
21.6 µs
bunny_decimated
17.0 µs
1.19 ms
bunny
16.2 µs
4.99 ms
dragon
21.3 µs
72.18 ms
happy_buddha
25.6 µs
90.80 ms
lucy
773.2 µs
2.438 s
points_to_barycentric
dragon (871 414 faces) · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
21.5 µs
1x
libigl
85.17 ms
3954x
trimesh
130.76 ms
6070x
All inputs
Input
ordito (CUDA)
libigl
trimesh
sphere_small
20.9 µs
bunny_decimated
17.7 µs
516.2 µs
1.21 ms
bunny
16.3 µs
2.77 ms
5.41 ms
dragon
21.5 µs
85.17 ms
130.76 ms
happy_buddha
27.6 µs
109.90 ms
163.56 ms
lucy
776.0 µs
3.573 s
3.907 s
face_centroids
dragon (871 414 faces) · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
29.7 µs
1x
libigl
11.93 ms
402x
PyVista
48.22 ms
1623x
All inputs
Input
ordito (CUDA)
libigl
PyVista
sphere_small
21.0 µs
bunny_decimated
21.8 µs
319.0 µs
1.03 ms
bunny
22.0 µs
883.5 µs
3.84 ms
dragon
29.7 µs
11.93 ms
48.22 ms
happy_buddha
32.8 µs
14.20 ms
59.64 ms
lucy
584.1 µs
860.06 ms
2.139 s
face_signed_volumes
dragon (871 414 faces) · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
28.8 µs
1x
NumPy
47.42 ms
1647x
All inputs
Input
ordito (CUDA)
NumPy
sphere_small
31.1 µs
bunny_decimated
27.5 µs
305.0 µs
bunny
24.1 µs
1.82 ms
dragon
28.8 µs
47.42 ms
happy_buddha
39.4 µs
60.45 ms
lucy
421.8 µs
1.794 s
face_nondegenerate_mask
dragon (871 414 faces) · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
28.0 µs
1x
trimesh
132.83 ms
4748x
All inputs
Input
ordito (CUDA)
trimesh
sphere_small
28.2 µs
bunny_decimated
19.3 µs
1.59 ms
bunny
21.3 µs
7.49 ms
dragon
28.0 µs
132.83 ms
happy_buddha
30.7 µs
163.62 ms
lucy
356.0 µs
4.914 s
corner_normals
dragon (871 414 faces) · creased=False · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
229.4 µs
1x
MeshLib
4.17 ms
18x
All inputs
Input
ordito (CUDA)
manifold3d
MeshLib
sphere_small creased=False
218.0 µs
sphere_small creased=True
159.6 µs
bunny creased=False
148.8 µs
315.0 µs
bunny creased=True
206.7 µs
421.5 µs
dragon creased=False
229.4 µs
4.17 ms
dragon creased=True
486.3 µs
4.61 ms
happy_buddha creased=False
398.3 µs
failed
5.39 ms
happy_buddha creased=True
683.8 µs
> 10 min
5.78 ms
lucy creased=True
> 10 min (predicted)
triangle_closest_point
dragon (871 414 faces) · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
30.2 µs
1x
trimesh
347.32 ms
11503x
All inputs
Input
ordito (CUDA)
trimesh
sphere_small
21.1 µs
bunny_decimated
23.1 µs
3.45 ms
bunny
21.3 µs
15.50 ms
dragon
30.2 µs
347.32 ms
happy_buddha
35.1 µs
407.28 ms
lucy
763.7 µs
9.418 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: