Skip to content

boundary

Benchmarks of ordito.boundary 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.01x0.1x1x10x100x1000xMeshLib: 0.87x ordito's time, geometric mean over 5 functions; slower than ordito in 1MeshLib0.87x (5)ordito (CUDA): the reference, 1xordito (CUDA)1xtrimesh: 129x ordito's time, geometric mean over 3 functions; slower than ordito in 3trimesh129x (3)MeshLab: 149x ordito's time, geometric mean over 2 functions; slower than ordito in 2MeshLab149x (2)PyVista: 182x ordito's time, geometric mean over 1 functions; slower than ordito in 1PyVista182x (1)libigl: 240x ordito's time, geometric mean over 4 functions; slower than ordito in 4libigl240x (4)
Time relative to ordito (CUDA), geometric mean over the boundary 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 0.87x 5 1
trimesh 129x 3 3
MeshLab 149x 2 2
PyVista 182x 1 1
libigl 240x 4 4

boundary_loops

0.1x1x10x100x1000xordito (CUDA): 372.2 µs, 1x ordito's timeordito (CUDA)1x · 372.2 µslibigl: 44.91 ms, 121x ordito's timelibigl121x · 44.91 msMeshLib: 68.83 ms, 185x ordito's timeMeshLib185x · 68.83 mstrimesh: 337.18 ms, 906x ordito's timetrimesh906x · 337.18 ms
rim_long (131 072 faces) · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 372.2 µs 1x
libigl 44.91 ms 121x
MeshLib 68.83 ms 185x
trimesh 337.18 ms 906x
All inputs
Input ordito (CUDA) libigl MeshLib trimesh
holes_many 454.2 µs 18.12 ms 2.06 ms 142.14 ms
sphere_med 135.5 µs 17.32 ms 1.45 ms 15.45 ms
rim_long 372.2 µs 44.91 ms 68.83 ms 337.18 ms

boundary_edges

0.01x0.1x1x10x100x1000xMeshLib: 47.0 µs, 0.31x ordito's timeMeshLib0.31x · 47.0 µsordito (CUDA): 150.5 µs, 1x ordito's timeordito (CUDA)1x · 150.5 µstrimesh: 18.34 ms, 122x ordito's timetrimesh122x · 18.34 msMeshLab: 41.15 ms, 273x ordito's timeMeshLab273x · 41.15 mslibigl: 41.38 ms, 275x ordito's timelibigl275x · 41.38 msPyVista: 54.34 ms, 361x ordito's timePyVista361x · 54.34 ms
rim_long (131 072 faces) · time relative to ordito, log scale
Values
Library Median Relative to ordito
MeshLib 47.0 µs 0.31x
ordito (CUDA) 150.5 µs 1x
trimesh 18.34 ms 122x
MeshLab 41.15 ms 273x
libigl 41.38 ms 275x
PyVista 54.34 ms 361x
All inputs
Input ordito (CUDA) libigl MeshLab MeshLib PyVista trimesh
holes_many 126.5 µs 21.75 ms 14.68 ms 57.3 µs 15.94 ms 9.52 ms
sphere_med 119.4 µs 21.61 ms 14.42 ms 56.4 µs 15.89 ms 9.67 ms
rim_long 150.5 µs 41.38 ms 41.15 ms 47.0 µs 54.34 ms 18.34 ms

oriented_boundary_edges

0.1x1x10x100x1000xordito (CUDA): 175.8 µs, 1x ordito's timeordito (CUDA)1x · 175.8 µstrimesh: 17.41 ms, 99x ordito's timetrimesh99x · 17.41 mslibigl: 40.62 ms, 231x ordito's timelibigl231x · 40.62 ms
rim_long (131 072 faces) · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 175.8 µs 1x
trimesh 17.41 ms 99x
libigl 40.62 ms 231x
All inputs
Input ordito (CUDA) libigl trimesh
holes_many 146.5 µs 22.04 ms 9.37 ms
sphere_med 140.4 µs 21.66 ms 9.18 ms
rim_long 175.8 µs 40.62 ms 17.41 ms

boundary_vertex_indices

0.01x0.1x1x10x100x1000xMeshLib: 45.8 µs, 0.28x ordito's timeMeshLib0.28x · 45.8 µsordito (CUDA): 162.4 µs, 1x ordito's timeordito (CUDA)1x · 162.4 µsMeshLab: 41.27 ms, 254x ordito's timeMeshLab254x · 41.27 ms
rim_long (131 072 faces) · time relative to ordito, log scale
Values
Library Median Relative to ordito
MeshLib 45.8 µs 0.28x
ordito (CUDA) 162.4 µs 1x
MeshLab 41.27 ms 254x
All inputs
Input ordito (CUDA) MeshLab MeshLib
holes_many 142.4 µs 14.60 ms 67.1 µs
sphere_med 134.4 µs 14.51 ms 54.0 µs
rim_long 162.4 µs 41.27 ms 45.8 µs

ears

0.1x1x10x100x1000x10000xordito (CUDA): 155.6 µs, 1x ordito's timeordito (CUDA)1x · 155.6 µslibigl: 273.31 ms, 1757x ordito's timelibigl1757x · 273.31 ms
rim_long (131 072 faces) · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 155.6 µs 1x
libigl 273.31 ms 1757x
All inputs
Input ordito (CUDA) libigl
holes_many 140.4 µs 109.58 ms
sphere_med 117.7 µs 111.20 ms
rim_long 155.6 µs 273.31 ms

loop_perimeters

0.01x0.1x1xMeshLib: 162.7 µs, 0.62x ordito's timeMeshLib0.62x · 162.7 µsordito (CUDA): 263.4 µs, 1x ordito's timeordito (CUDA)1x · 263.4 µs
dragon (871 414 faces) · time relative to ordito, log scale
Values
Library Median Relative to ordito
MeshLib 162.7 µs 0.62x
ordito (CUDA) 263.4 µs 1x
All inputs
Input ordito (CUDA) MeshLib
saddle_small 47.6 µs
bunny_decimated 56.5 µs 50.3 µs
bunny 46.8 µs 5.8 µs
dragon 263.4 µs 162.7 µs
lucy 16.1 µs

loop_directed_areas

0.01x0.1x1xMeshLib: 149.3 µs, 0.60x ordito's timeMeshLib0.60x · 149.3 µsordito (CUDA): 249.7 µs, 1x ordito's timeordito (CUDA)1x · 249.7 µs
dragon (871 414 faces) · time relative to ordito, log scale
Values
Library Median Relative to ordito
MeshLib 149.3 µs 0.60x
ordito (CUDA) 249.7 µs 1x
All inputs
Input ordito (CUDA) MeshLib
saddle_small 49.9 µs
bunny_decimated 49.5 µs 54.6 µs
bunny 73.9 µs 6.1 µs
dragon 249.7 µs 149.3 µs
lucy 17.3 µ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:

Function Input ordito (CUDA)
boundary_loops_with_offsets rim_long 359.8 µs
boundary_loops_pinches holes_many pinches=gap 207.4 µs
boundary_vertices rim_long 157.6 µs
loop_perimeters_from_offsets dragon 68.5 µs
loop_directed_areas_from_offsets dragon 75.2 µs