Skip to content

edges

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.

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

Summary

0.1x1x10x100x1000x10000xordito (CUDA): the reference, 1xordito (CUDA)1xPyTorch3D (CUDA): 7.2x ordito's time, geometric mean over 3 functions; slower than ordito in 3PyTorch3D (CUDA)7.2x (3)MeshLib: 42x ordito's time, geometric mean over 2 functions; slower than ordito in 2MeshLib42x (2)potpourri3d: 115x ordito's time, geometric mean over 1 functions; slower than ordito in 1potpourri3d115x (1)libigl: 202x ordito's time, geometric mean over 9 functions; slower than ordito in 9libigl202x (9)PyVista: 212x ordito's time, geometric mean over 2 functions; slower than ordito in 2PyVista212x (2)trimesh: 317x ordito's time, geometric mean over 11 functions; slower than ordito in 11trimesh317x (11)NumPy: 671x ordito's time, geometric mean over 1 functions; slower than ordito in 1NumPy671x (1)MeshLab: 1105x ordito's time, geometric mean over 1 functions; slower than ordito in 1MeshLab1105x (1)
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

0.1x1x10x100x1000xordito (CUDA): 455.7 µs, 1x ordito's timeordito (CUDA)1x · 455.7 µsPyTorch3D (CUDA): 3.57 ms, 7.8x ordito's timePyTorch3D (CUDA)7.8x · 3.57 mstrimesh: 232.28 ms, 510x ordito's timetrimesh510x · 232.28 msPyVista: 250.28 ms, 549x ordito's timePyVista549x · 250.28 mslibigl: 327.63 ms, 719x ordito's timelibigl719x · 327.63 ms
dragon (871 414 faces) · time relative to ordito, log scale
Values
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

0.1x1x10x100x1000xordito (CUDA): 460.7 µs, 1x ordito's timeordito (CUDA)1x · 460.7 µsPyTorch3D (CUDA): 3.59 ms, 7.8x ordito's timePyTorch3D (CUDA)7.8x · 3.59 msPyVista: 213.54 ms, 464x ordito's timePyVista464x · 213.54 mstrimesh: 234.79 ms, 510x ordito's timetrimesh510x · 234.79 mslibigl: 313.90 ms, 681x ordito's timelibigl681x · 313.90 ms
dragon (871 414 faces) · time relative to ordito, log scale
Values
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

0.1x1x10x100x1000xordito (CUDA): 528.9 µs, 1x ordito's timeordito (CUDA)1x · 528.9 µsPyTorch3D (CUDA): 3.49 ms, 6.6x ordito's timePyTorch3D (CUDA)6.6x · 3.49 mstrimesh: 193.95 ms, 367x ordito's timetrimesh367x · 193.95 mslibigl: 280.55 ms, 530x ordito's timelibigl530x · 280.55 ms
dragon (871 414 faces) · time relative to ordito, log scale
Values
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

0.1x1x10x100x1000x10000xordito (CUDA): 28.8 µs, 1x ordito's timeordito (CUDA)1x · 28.8 µstrimesh: 17.77 ms, 616x ordito's timetrimesh616x · 17.77 mslibigl: 34.44 ms, 1195x ordito's timelibigl1195x · 34.44 ms
dragon (871 414 faces) · time relative to ordito, log scale
Values
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

0.1x1x10x100x1000x10000xordito (CUDA): 35.7 µs, 1x ordito's timeordito (CUDA)1x · 35.7 µstrimesh: 69.12 ms, 1936x ordito's timetrimesh1936x · 69.12 ms
dragon (871 414 faces) · time relative to ordito, log scale
Values
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

0.1x1x10x100xordito (CUDA): 26.3 µs, 1x ordito's timeordito (CUDA)1x · 26.3 µstrimesh: 2.20 ms, 84x ordito's timetrimesh84x · 2.20 ms
dragon (871 414 faces) · time relative to ordito, log scale
Values
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

0.1x1x10x100x1000x10000xordito (CUDA): 176.5 µs, 1x ordito's timeordito (CUDA)1x · 176.5 µstrimesh: 202.42 ms, 1147x ordito's timetrimesh1147x · 202.42 ms
dragon (871 414 faces) · time relative to ordito, log scale
Values
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

0.1x1x10x100x1000xordito (CUDA): 210.7 µs, 1x ordito's timeordito (CUDA)1x · 210.7 µslibigl: 110.98 ms, 527x ordito's timelibigl527x · 110.98 mspotpourri3d: 145.88 ms, 692x ordito's timepotpourri3d692x · 145.88 ms
sphere_large (327 680 faces) · time relative to ordito, log scale
Values
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

0.1x1x10x100x1000xordito (CUDA): 427.3 µs, 1x ordito's timeordito (CUDA)1x · 427.3 µsMeshLib: 16.24 ms, 38x ordito's timeMeshLib38x · 16.24 mstrimesh: 250.62 ms, 586x ordito's timetrimesh586x · 250.62 ms
dragon (871 414 faces) · time relative to ordito, log scale
Values
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

0.1x1x10x100x1000x10000xordito (CUDA): 30.9 µs, 1x ordito's timeordito (CUDA)1x · 30.9 µslibigl: 8.41 ms, 272x ordito's timelibigl272x · 8.41 mstrimesh: 109.64 ms, 3549x ordito's timetrimesh3549x · 109.64 ms
dragon (871 414 faces) · time relative to ordito, log scale
Values
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

0.1x1x10x100x1000x10000xordito (CUDA): 70.1 µs, 1x ordito's timeordito (CUDA)1x · 70.1 µslibigl: 9.02 ms, 129x ordito's timelibigl129x · 9.02 mstrimesh: 102.76 ms, 1465x ordito's timetrimesh1465x · 102.76 ms
dragon (871 414 faces) · time relative to ordito, log scale
Values
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

0.1x1x10x100x1000x10000xordito (CUDA): 48.2 µs, 1x ordito's timeordito (CUDA)1x · 48.2 µsNumPy: 103.56 ms, 2148x ordito's timeNumPy2148x · 103.56 ms
dragon (871 414 faces) · time relative to ordito, log scale
Values
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

0.1x1x10x100x1000x10000xordito (CUDA): 425.5 µs, 1x ordito's timeordito (CUDA)1x · 425.5 µsMeshLib: 16.00 ms, 38x ordito's timeMeshLib38x · 16.00 mslibigl: 95.34 ms, 224x ordito's timelibigl224x · 95.34 msMeshLab: 1.162 s, 2730x ordito's timeMeshLab2730x · 1.162 strimesh: 1.340 s, 3149x ordito's timetrimesh3149x · 1.340 s
dragon (871 414 faces) · time relative to ordito, log scale
Values
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

0.1x1x10x100x1000xordito (CUDA): 30.8 µs, 1x ordito's timeordito (CUDA)1x · 30.8 µslibigl: 8.24 ms, 267x ordito's timelibigl267x · 8.24 ms
dragon (871 414 faces) · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 30.8 µs 1x
libigl 8.24 ms 267x
All inputs
Input ordito (CUDA) libigl
sphere_small 23.4 µs
bunny_decimated 29.5 µs 1.38 ms
bunny 23.4 µs 1.83 ms
dragon 30.8 µs 8.24 ms
happy_buddha 33.5 µs 10.32 ms
lucy 589.3 µs 694.97 ms