Skip to content

curvature

Benchmarks of ordito.curvature 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.1x1x10x100x1000xordito (CUDA): the reference, 1xordito (CUDA)1xMeshLib: 16x ordito's time, geometric mean over 1 functions; slower than ordito in 1MeshLib16x (1)PyVista: 87x ordito's time, geometric mean over 2 functions; slower than ordito in 2PyVista87x (2)MeshLab: 100x ordito's time, geometric mean over 8 functions; slower than ordito in 8MeshLab100x (8)libigl: 108x ordito's time, geometric mean over 2 functions; slower than ordito in 2libigl108x (2)trimesh: 295x ordito's time, geometric mean over 3 functions; slower than ordito in 3trimesh295x (3)
Time relative to ordito (CUDA), geometric mean over the curvature 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 16x 1 1
PyVista 87x 2 2
MeshLab 100x 8 8
libigl 108x 2 2
trimesh 295x 3 3

principal_curvature

0.1x1x10x100x1000xordito (CUDA): 1.77 ms, 1x ordito's timeordito (CUDA)1x · 1.77 msMeshLab: 185.97 ms, 105x ordito's timeMeshLab105x · 185.97 mslibigl: 282.42 ms, 160x ordito's timelibigl160x · 282.42 ms
sphere_med (81 920 faces) · radius=3 · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 1.77 ms 1x
MeshLab 185.97 ms 105x
libigl 282.42 ms 160x
All inputs
Input ordito (CUDA) libigl MeshLab
sphere_small radius=3 587.9 µs 16.86 ms 12.23 ms
sphere_small radius=8 2.11 ms 56.61 ms
sphere_med radius=3 1.77 ms 282.42 ms 185.97 ms
sphere_med radius=8 4.75 ms 938.45 ms
sphere_large radius=3 5.30 ms 814.69 ms
sphere_large radius=8 19.66 ms

principal_curvature_pyvista

0.1x1x10x100x1000xordito (CUDA): 714.8 µs, 1x ordito's timeordito (CUDA)1x · 714.8 µsPyVista: 92.12 ms, 129x ordito's timePyVista129x · 92.12 ms
sphere_large (327 680 faces) · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 714.8 µs 1x
PyVista 92.12 ms 129x
All inputs
Input ordito (CUDA) PyVista
sphere_small 178.8 µs 1.65 ms
sphere_med 272.2 µs 23.02 ms
sphere_large 714.8 µs 92.12 ms

principal_curvature_meyer

0.1x1x10x100x1000xordito (CUDA): 786.3 µs, 1x ordito's timeordito (CUDA)1x · 786.3 µsMeshLab: 233.09 ms, 296x ordito's timeMeshLab296x · 233.09 ms
sphere_large (327 680 faces) · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 786.3 µs 1x
MeshLab 233.09 ms 296x
All inputs
Input ordito (CUDA) MeshLab
sphere_small 171.0 µs 2.94 ms
sphere_med 253.9 µs 47.94 ms
sphere_large 786.3 µs 233.09 ms

principal_curvature_taubin

0.1x1x10x100x1000x10000xordito (CUDA): 186.3 µs, 1x ordito's timeordito (CUDA)1x · 186.3 µsMeshLab: 276.43 ms, 1483x ordito's timeMeshLab1483x · 276.43 ms
sphere_large (327 680 faces) · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 186.3 µs 1x
MeshLab 276.43 ms 1483x
All inputs
Input ordito (CUDA) MeshLab
sphere_small 100.7 µs 6.90 ms
sphere_med 154.3 µs 58.19 ms
sphere_large 186.3 µs 276.43 ms

principal_curvature_normal_cycles

0.1x1x10x100x1000xordito (CUDA): 973.8 µs, 1x ordito's timeordito (CUDA)1x · 973.8 µsMeshLab: 263.27 ms, 270x ordito's timeMeshLab270x · 263.27 ms
sphere_large (327 680 faces) · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 973.8 µs 1x
MeshLab 263.27 ms 270x
All inputs
Input ordito (CUDA) MeshLab
sphere_small 245.1 µs 3.23 ms
sphere_med 282.6 µs 51.26 ms
sphere_large 973.8 µs 263.27 ms

vertex_curvatures

0.1x1x10x100x1000xordito (CUDA): 725.2 µs, 1x ordito's timeordito (CUDA)1x · 725.2 µsMeshLab: 239.59 ms, 330x ordito's timeMeshLab330x · 239.59 ms
sphere_large (327 680 faces) · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 725.2 µs 1x
MeshLab 239.59 ms 330x
All inputs
Input ordito (CUDA) MeshLab
sphere_small 169.6 µs 3.17 ms
sphere_med 232.7 µs 46.79 ms
sphere_large 725.2 µs 239.59 ms

vertex_defects

0.1x1x10x100x1000xordito (CUDA): 42.5 µs, 1x ordito's timeordito (CUDA)1x · 42.5 µsMeshLib: 251.2 µs, 5.9x ordito's timeMeshLib5.9x · 251.2 µslibigl: 6.93 ms, 163x ordito's timelibigl163x · 6.93 msPyVista: 6.94 ms, 163x ordito's timePyVista163x · 6.94 mstrimesh: 17.26 ms, 406x ordito's timetrimesh406x · 17.26 ms
sphere_med (81 920 faces) · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 42.5 µs 1x
MeshLib 251.2 µs 5.9x
libigl 6.93 ms 163x
PyVista 6.94 ms 163x
trimesh 17.26 ms 406x
All inputs
Input ordito (CUDA) libigl MeshLib PyVista trimesh
sphere_med 42.5 µs 6.93 ms 251.2 µs 6.94 ms 17.26 ms
fan_hub 40.0 µs 6.78 ms 1.83 ms 6.35 ms 16.89 ms

discrete_gaussian_curvature

0.1x1x10x100x1000xordito (CUDA): 85.7 µs, 1x ordito's timeordito (CUDA)1x · 85.7 µsMeshLab: 2.95 ms, 34x ordito's timeMeshLab34x · 2.95 mstrimesh: 15.31 ms, 179x ordito's timetrimesh179x · 15.31 ms
sphere_small (5 120 faces) · radius_scale=2.0 · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 85.7 µs 1x
MeshLab 2.95 ms 34x
trimesh 15.31 ms 179x
All inputs
Input ordito (CUDA) MeshLab trimesh
sphere_small radius_scale=2.0 85.7 µs 2.95 ms 15.31 ms
sphere_small radius_scale=4.0 112.9 µs 23.47 ms
sphere_med radius_scale=2.0 156.5 µs 46.62 ms
sphere_med radius_scale=4.0 244.9 µs
sphere_large radius_scale=2.0 247.2 µs 225.50 ms
sphere_large radius_scale=4.0 410.5 µs

discrete_mean_curvature

0.1x1x10x100x1000xordito (CUDA): 453.2 µs, 1x ordito's timeordito (CUDA)1x · 453.2 µsMeshLab: 2.93 ms, 6.5x ordito's timeMeshLab6.5x · 2.93 mstrimesh: 119.55 ms, 264x ordito's timetrimesh264x · 119.55 ms
sphere_small (5 120 faces) · radius_scale=2.0 · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 453.2 µs 1x
MeshLab 2.93 ms 6.5x
trimesh 119.55 ms 264x
All inputs
Input ordito (CUDA) MeshLab trimesh
sphere_small radius_scale=2.0 453.2 µs 2.93 ms 119.55 ms
sphere_small radius_scale=4.0 560.4 µs 221.63 ms
sphere_med radius_scale=2.0 787.5 µs 46.06 ms
sphere_med radius_scale=4.0 1.26 ms
sphere_large radius_scale=2.0 1.80 ms 221.15 ms
sphere_large radius_scale=4.0 3.48 ms

mls_principal_curvature_apss

0.1x1x10x100x1000xordito (CUDA): 7.67 ms, 1x ordito's timeordito (CUDA)1x · 7.67 msMeshLab: 1.995 s, 260x ordito's timeMeshLab260x · 1.995 s
sphere_large (327 680 faces) · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 7.67 ms 1x
MeshLab 1.995 s 260x
All inputs
Input ordito (CUDA) MeshLab
sphere_small 2.19 ms 17.04 ms
sphere_med 2.63 ms 296.86 ms
sphere_large 7.67 ms 1.995 s

point_principal_curvature

0.1x1xordito (CUDA): 374.4 µs, 1x ordito's timeordito (CUDA)1x · 374.4 µsMeshLab: failed (predicted)MeshLabfailed (predicted)
sphere_large (327 680 faces) · time relative to ordito, log scale · a red cross is a run that left no time
Values
Library Median Relative to ordito
ordito (CUDA) 374.4 µs 1x
MeshLab failed (predicted)
All inputs
Input ordito (CUDA) MeshLab
sphere_small 131.2 µs failed (predicted)
sphere_med 138.5 µs failed (predicted)
sphere_large 374.4 µs failed (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)
mls_principal_curvature_rimls sphere_large 14.08 ms