Skip to content

graph

Benchmarks of ordito.graph 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.

Measured on GPU: NVIDIA GeForce RTX 5090 · CPU: Intel Xeon w7-2495X

Summary

0.1x1x10x100x1000x10000xordito (CUDA): the reference, 1xordito (CUDA)1xSciPy: 35x ordito's time, geometric mean over 4 functions; slower than ordito in 4SciPy35x (4)MeshLib: 49x ordito's time, geometric mean over 1 functions; slower than ordito in 1MeshLib49x (1)libigl: 95x ordito's time, geometric mean over 6 functions; slower than ordito in 6libigl95x (6)MeshLab: 953x ordito's time, geometric mean over 2 functions; slower than ordito in 2MeshLab953x (2)trimesh: 6436x ordito's time, geometric mean over 1 functions; slower than ordito in 1trimesh6436x (1)
Time relative to ordito (CUDA), geometric mean over the graph 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
SciPy 35x 4 4
MeshLib 49x 1 1
libigl 95x 6 6
MeshLab 953x 2 2
trimesh 6436x 1 1

edges_to_neighbor_lists

0.1x1x10x100x1000x10000x100000xordito (CUDA): 112.6 µs, 1x ordito's timeordito (CUDA)1x · 112.6 µslibigl: 540.76 ms, 4803x ordito's timelibigl4803x · 540.76 mstrimesh: 1.981 s, 17593x ordito's timetrimesh17593x · 1.981 s
dragon (871 414 faces) · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 112.6 µs 1x
libigl 540.76 ms 4803x
trimesh 1.981 s 17593x
All inputs
Input ordito (CUDA) libigl trimesh
sphere_small 56.4 µs
bunny_decimated 54.4 µs 3.59 ms 13.62 ms
bunny 85.8 µs 14.94 ms 181.79 ms
dragon 112.6 µs 540.76 ms 1.981 s
happy_buddha 133.8 µs 784.42 ms 2.380 s
lucy 1.18 ms 16.706 s 78.233 s

connected_component_labels

0.1x1x10x100x1000xordito (CUDA): 48.1 µs, 1x ordito's timeordito (CUDA)1x · 48.1 µsSciPy: 1.77 ms, 37x ordito's timeSciPy37x · 1.77 msMeshLib: 2.17 ms, 45x ordito's timeMeshLib45x · 2.17 mslibigl: 7.78 ms, 162x ordito's timelibigl162x · 7.78 msMeshLab: 16.81 ms, 349x ordito's timeMeshLab349x · 16.81 ms
sphere_med (81 920 faces) · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 48.1 µs 1x
SciPy 1.77 ms 37x
MeshLib 2.17 ms 45x
libigl 7.78 ms 162x
MeshLab 16.81 ms 349x
All inputs
Input ordito (CUDA) libigl MeshLab MeshLib SciPy
sphere_med 48.1 µs 7.78 ms 16.81 ms 2.17 ms 1.77 ms
parts_64 30.5 µs 7.41 ms 14.73 ms 1.58 ms 1.55 ms
parts_1024 29.5 µs 7.38 ms 12.76 ms 1.52 ms 1.35 ms

connected_component_labels_from_edges

0.1x1x10x100xordito (CUDA): 86.3 µs, 1x ordito's timeordito (CUDA)1x · 86.3 µslibigl: 1.51 ms, 17x ordito's timelibigl17x · 1.51 msSciPy: 1.76 ms, 20x ordito's timeSciPy20x · 1.76 ms
sphere_med (81 920 faces) · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 86.3 µs 1x
libigl 1.51 ms 17x
SciPy 1.76 ms 20x
All inputs
Input ordito (CUDA) libigl SciPy
sphere_med 86.3 µs 1.51 ms 1.76 ms
parts_64 67.6 µs 1.27 ms 1.48 ms
parts_1024 65.1 µs 1.36 ms 1.37 ms

connected_component_labels_depth

0.1x1x10x100x1000xordito (CUDA): 44.8 µs, 1x ordito's timeordito (CUDA)1x · 44.8 µsSciPy: 1.77 ms, 40x ordito's timeSciPy40x · 1.77 mslibigl: 8.07 ms, 180x ordito's timelibigl180x · 8.07 ms
sphere_med (81 920 faces) · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 44.8 µs 1x
SciPy 1.77 ms 40x
libigl 8.07 ms 180x
All inputs
Input ordito (CUDA) libigl SciPy
ribbon_long 42.0 µs 4.14 ms 780.2 µs
sphere_med 44.8 µs 8.07 ms 1.77 ms

face_connected_component_labels_depth

0.1x1x10x100x1000xordito (CUDA): 127.2 µs, 1x ordito's timeordito (CUDA)1x · 127.2 µsSciPy: 25.05 ms, 197x ordito's timeSciPy197x · 25.05 mslibigl: 35.09 ms, 276x ordito's timelibigl276x · 35.09 ms
sphere_med (81 920 faces) · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 127.2 µs 1x
SciPy 25.05 ms 197x
libigl 35.09 ms 276x
All inputs
Input ordito (CUDA) libigl SciPy
ribbon_long 341.1 µs 13.10 ms 6.50 ms
sphere_med 127.2 µs 35.09 ms 25.05 ms

shortest_path_envelope

0.1x1x10x100x1000x10000x100000xordito (CUDA): 7.54 ms, 1x ordito's timeordito (CUDA)1x · 7.54 mslibigl: 152.31 ms, 20x ordito's timelibigl20x · 152.31 msMeshLab: not run, not run: stopped at 600 s, so over the 10 min limitMeshLab> 79527x · > 10 min (predicted)
dragon (871 414 faces) · time relative to ordito, log scale · a paler bar was stopped at the time limit
Values
Library Median Relative to ordito
ordito (CUDA) 7.54 ms 1x
libigl 152.31 ms 20x
MeshLab > 10 min (predicted) > 79527x
All inputs
Input ordito (CUDA) libigl MeshLab
sphere_small 343.4 µs
bunny_decimated 441.7 µs 1.95 ms 363.23 ms
bunny 785.7 µs 8.68 ms 4.514 s
dragon 7.54 ms 152.31 ms > 10 min (predicted)
happy_buddha 9.23 ms 193.58 ms > 10 min (predicted)
lucy 1.921 s 6.769 s > 10 min (predicted)

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:

Function Input ordito (CUDA)
edges_to_csr lucy 20.30 ms
edges_to_neighbor_lists_from_counts lucy 777.0 µs
connected_component_parity_from_edges lucy 3.45 ms
successor_cycles sphere_large shape=one_cycle 343.5 µs
successor_cycles_from_table sphere_large shape=one_cycle 318.3 µs
shortest_path_envelope_ordered lucy 978.69 ms