Benchmarks of ordito.edges 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 edges 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)
7.2x
3
3
MeshLib
42x
2
2
potpourri3d
115x
1
1
libigl
202x
9
9
PyVista
212x
2
2
trimesh
317x
11
11
NumPy
671x
1
1
MeshLab
1105x
1
1
edges_unique
dragon (871 414 faces) · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
455.7 µs
1x
PyTorch3D (CUDA)
3.57 ms
7.8x
trimesh
232.28 ms
510x
PyVista
250.28 ms
549x
libigl
327.63 ms
719x
All inputs
Input
ordito (CUDA)
libigl
PyTorch3D (CUDA)
PyVista
trimesh
sphere_small
118.6 µs
bunny_decimated
117.3 µs
7.51 ms
1.03 ms
3.60 ms
3.51 ms
bunny
132.2 µs
30.57 ms
1.16 ms
14.94 ms
16.01 ms
dragon
455.7 µs
327.63 ms
3.57 ms
250.28 ms
232.28 ms
happy_buddha
523.2 µs
419.73 ms
4.43 ms
307.39 ms
277.17 ms
lucy
19.47 ms
13.159 s
117.72 ms
9.791 s
9.134 s
edges_unique_auto_nv
dragon (871 414 faces) · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
460.7 µs
1x
PyTorch3D (CUDA)
3.59 ms
7.8x
PyVista
213.54 ms
464x
trimesh
234.79 ms
510x
libigl
313.90 ms
681x
All inputs
Input
ordito (CUDA)
libigl
PyTorch3D (CUDA)
PyVista
trimesh
sphere_small
132.9 µs
bunny_decimated
129.2 µs
7.48 ms
1.04 ms
3.58 ms
3.60 ms
bunny
149.5 µs
30.65 ms
1.15 ms
14.71 ms
16.05 ms
dragon
460.7 µs
313.90 ms
3.59 ms
213.54 ms
234.79 ms
happy_buddha
512.2 µs
389.63 ms
4.32 ms
263.48 ms
271.71 ms
lucy
19.37 ms
13.220 s
118.07 ms
9.874 s
9.129 s
edges_unique_inverse
dragon (871 414 faces) · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
528.9 µs
1x
PyTorch3D (CUDA)
3.49 ms
6.6x
trimesh
193.95 ms
367x
libigl
280.55 ms
530x
All inputs
Input
ordito (CUDA)
libigl
PyTorch3D (CUDA)
trimesh
sphere_small
118.4 µs
bunny_decimated
156.5 µs
7.55 ms
983.4 µs
3.31 ms
bunny
158.7 µs
30.17 ms
1.05 ms
14.99 ms
dragon
528.9 µs
280.55 ms
3.49 ms
193.95 ms
happy_buddha
673.5 µs
400.43 ms
4.31 ms
249.02 ms
lucy
19.94 ms
13.229 s
118.04 ms
8.528 s
faces_to_edges
dragon (871 414 faces) · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
28.8 µs
1x
trimesh
17.77 ms
616x
libigl
34.44 ms
1195x
All inputs
Input
ordito (CUDA)
libigl
trimesh
sphere_small
21.9 µs
bunny_decimated
20.5 µs
73.9 µs
95.4 µs
bunny
16.0 µs
576.4 µs
535.5 µs
dragon
28.8 µs
34.44 ms
17.77 ms
happy_buddha
38.8 µs
44.74 ms
23.27 ms
lucy
719.1 µs
1.278 s
649.08 ms
faces_to_edges_sorted
dragon (871 414 faces) · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
35.7 µs
1x
trimesh
69.12 ms
1936x
All inputs
Input
ordito (CUDA)
trimesh
sphere_small
21.9 µs
bunny_decimated
20.4 µs
905.8 µs
bunny
20.9 µs
4.12 ms
dragon
35.7 µs
69.12 ms
happy_buddha
60.5 µs
86.17 ms
lucy
730.4 µs
2.219 s
edges_face
dragon (871 414 faces) · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
26.3 µs
1x
trimesh
2.20 ms
84x
All inputs
Input
ordito (CUDA)
trimesh
sphere_small
20.8 µs
bunny_decimated
16.9 µs
65.3 µs
bunny
19.9 µs
184.5 µs
dragon
26.3 µs
2.20 ms
happy_buddha
33.9 µs
2.53 ms
lucy
226.6 µs
148.96 ms
unique_edge_count
dragon (871 414 faces) · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
176.5 µs
1x
trimesh
202.42 ms
1147x
All inputs
Input
ordito (CUDA)
trimesh
sphere_small
61.1 µs
bunny_decimated
50.2 µs
3.63 ms
bunny
57.5 µs
15.26 ms
dragon
176.5 µs
202.42 ms
happy_buddha
225.3 µs
256.76 ms
lucy
6.60 ms
8.536 s
edges_unique_manifold
sphere_large (327 680 faces) · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
210.7 µs
1x
libigl
110.98 ms
527x
potpourri3d
145.88 ms
692x
All inputs
Input
ordito (CUDA)
libigl
potpourri3d
sphere_small
133.5 µs
3.00 ms
1.33 ms
sphere_med
132.0 µs
30.43 ms
28.72 ms
sphere_large
210.7 µs
110.98 ms
145.88 ms
edges_unique_length
dragon (871 414 faces) · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
427.3 µs
1x
MeshLib
16.24 ms
38x
trimesh
250.62 ms
586x
All inputs
Input
ordito (CUDA)
MeshLib
trimesh
sphere_small
121.5 µs
bunny_decimated
124.9 µs
5.59 ms
4.27 ms
bunny
120.2 µs
1.46 ms
19.40 ms
dragon
427.3 µs
16.24 ms
250.62 ms
happy_buddha
504.1 µs
20.33 ms
313.54 ms
lucy
18.56 ms
3.149 s
10.904 s
edges_length
dragon (871 414 faces) · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
30.9 µs
1x
libigl
8.41 ms
272x
trimesh
109.64 ms
3549x
All inputs
Input
ordito (CUDA)
libigl
trimesh
sphere_small
19.6 µs
bunny_decimated
19.7 µs
1.34 ms
1.59 ms
bunny
21.1 µs
1.85 ms
6.70 ms
dragon
30.9 µs
8.41 ms
109.64 ms
happy_buddha
37.0 µs
9.95 ms
136.59 ms
lucy
605.7 µs
676.14 ms
4.417 s
mean_edge_length
dragon (871 414 faces) · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
70.1 µs
1x
libigl
9.02 ms
129x
trimesh
102.76 ms
1465x
All inputs
Input
ordito (CUDA)
libigl
trimesh
sphere_small
50.1 µs
bunny_decimated
48.8 µs
1.40 ms
1.46 ms
bunny
54.3 µs
1.86 ms
6.32 ms
dragon
70.1 µs
9.02 ms
102.76 ms
happy_buddha
78.7 µs
12.82 ms
129.50 ms
lucy
405.3 µs
741.28 ms
4.108 s
edge_length_sum
dragon (871 414 faces) · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
48.2 µs
1x
NumPy
103.56 ms
2148x
All inputs
Input
ordito (CUDA)
NumPy
sphere_small
51.5 µs
bunny_decimated
42.9 µs
1.47 ms
bunny
38.9 µs
6.36 ms
dragon
48.2 µs
103.56 ms
happy_buddha
126.5 µs
130.70 ms
lucy
380.8 µs
4.140 s
mean_unique_edge_length
dragon (871 414 faces) · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
425.5 µs
1x
MeshLib
16.00 ms
38x
libigl
95.34 ms
224x
MeshLab
1.162 s
2730x
trimesh
1.340 s
3149x
All inputs
Input
ordito (CUDA)
libigl
MeshLab
MeshLib
trimesh
sphere_small
144.6 µs
bunny_decimated
120.5 µs
1.73 ms
16.78 ms
5.56 ms
20.78 ms
bunny
127.6 µs
6.75 ms
76.08 ms
1.46 ms
98.08 ms
dragon
425.5 µs
95.34 ms
1.162 s
16.00 ms
1.340 s
happy_buddha
573.3 µs
138.48 ms
1.524 s
19.90 ms
1.699 s
lucy
16.57 ms
4.735 s
45.392 s
3.202 s
53.698 s
face_edge_lengths
dragon (871 414 faces) · time relative to ordito, log scaleValues