Benchmarks of ordito.adjacency 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 adjacency 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
33x
1
1
libigl
111x
4
4
PyVista
368x
1
1
trimesh
704x
6
6
Open3D
1085x
1
1
face_adjacency
dragon (871 414 faces) · known_radix=False · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
490.7 µs
1x
libigl
29.96 ms
61x
trimesh
276.89 ms
564x
All inputs
Input
ordito (CUDA)
libigl
trimesh
sphere_small known_radix=False
153.1 µs
sphere_small known_radix=True
171.5 µs
bunny_decimated known_radix=False
156.0 µs
3.02 ms
3.89 ms
bunny_decimated known_radix=True
131.2 µs
bunny known_radix=False
167.0 µs
4.27 ms
16.60 ms
bunny known_radix=True
158.0 µs
dragon known_radix=False
490.7 µs
29.96 ms
276.89 ms
dragon known_radix=True
446.9 µs
happy_buddha known_radix=False
697.4 µs
41.69 ms
349.48 ms
happy_buddha known_radix=True
591.7 µs
lucy known_radix=False
20.65 ms
1.705 s
11.016 s
lucy known_radix=True
17.99 ms
face_adjacency_unshared
dragon (871 414 faces) · tabled=True · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
27.1 µs
1x
libigl
29.86 ms
1103x
trimesh
411.70 ms
15206x
All inputs
Input
ordito (CUDA)
libigl
trimesh
sphere_small tabled=True
21.0 µs
sphere_small tabled=False
147.1 µs
bunny_decimated tabled=True
31.6 µs
2.92 ms
5.81 ms
bunny_decimated tabled=False
150.7 µs
bunny tabled=True
18.6 µs
4.30 ms
27.04 ms
bunny tabled=False
159.7 µs
dragon tabled=True
27.1 µs
29.86 ms
411.70 ms
dragon tabled=False
480.7 µs
happy_buddha tabled=True
36.2 µs
34.60 ms
521.43 ms
happy_buddha tabled=False
493.2 µs
lucy tabled=True
873.2 µs
1.717 s
15.569 s
lucy tabled=False
17.93 ms
face_connected_component_labels
dragon (871 414 faces) · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
239.2 µs
1x
MeshLib
21.42 ms
90x
PyVista
269.72 ms
1128x
libigl
405.56 ms
1696x
Open3D
942.26 ms
3940x
All inputs
Input
ordito (CUDA)
libigl
MeshLib
Open3D
PyVista
sphere_small
123.4 µs
bunny_decimated
111.5 µs
8.84 ms
530.2 µs
9.12 ms
4.52 ms
bunny
143.8 µs
36.11 ms
2.05 ms
40.15 ms
18.28 ms
dragon
239.2 µs
405.56 ms
21.42 ms
942.26 ms
269.72 ms
happy_buddha
289.8 µs
516.00 ms
26.50 ms
1.362 s
335.27 ms
lucy
10.13 ms
17.037 s
695.69 ms
35.993 s
10.204 s
face_adjacency_angles
dragon (871 414 faces) · given=adjacency · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
31.3 µs
1x
trimesh
523.79 ms
16741x
All inputs
Input
ordito (CUDA)
trimesh
sphere_small given=adjacency
20.8 µs
sphere_small given=normals
111.1 µs
bunny_decimated given=adjacency
30.0 µs
6.24 ms
bunny_decimated given=normals
108.7 µs
bunny given=adjacency
18.1 µs
25.73 ms
bunny given=normals
147.0 µs
dragon given=adjacency
31.3 µs
523.79 ms
dragon given=normals
422.6 µs
happy_buddha given=adjacency
41.9 µs
648.76 ms
happy_buddha given=normals
575.4 µs
lucy given=adjacency
679.0 µs
17.326 s
lucy given=normals
17.82 ms
vertex_face_adjacency
sphere_med (81 920 faces) · known_nv=True · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
60.7 µs
1x
libigl
768.1 µs
13x
trimesh
8.16 ms
134x
All inputs
Input
ordito (CUDA)
libigl
trimesh
sphere_med known_nv=True
60.7 µs
768.1 µs
8.16 ms
fan_hub known_nv=True
84.5 µs
736.7 µs
sphere_med known_nv=False
76.7 µs
fan_hub known_nv=False
117.7 µs
face_adjacency_projections
dragon (871 414 faces) · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
612.6 µs
1x
trimesh
671.71 ms
1097x
All inputs
Input
ordito (CUDA)
trimesh
sphere_small
117.3 µs
bunny_decimated
149.4 µs
8.01 ms
bunny
150.8 µs
40.52 ms
dragon
612.6 µs
671.71 ms
happy_buddha
669.2 µs
836.39 ms
lucy
18.01 ms
22.565 s
face_adjacency_convex
dragon (871 414 faces) · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
543.1 µs
1x
trimesh
657.05 ms
1210x
All inputs
Input
ordito (CUDA)
trimesh
sphere_small
108.5 µs
bunny_decimated
110.4 µs
8.15 ms
bunny
150.6 µs
36.31 ms
dragon
543.1 µs
657.05 ms
happy_buddha
659.4 µs
797.77 ms
lucy
17.82 ms
22.438 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: