Skip to content

energies

Benchmarks of ordito.energies 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.1x1x10x100xordito (CUDA): the reference, 1xordito (CUDA)1xPyTorch3D (CUDA): 10x ordito's time, geometric mean over 3 functions; slower than ordito in 3PyTorch3D (CUDA)10x (3)libigl: 64x ordito's time, geometric mean over 6 functions; slower than ordito in 6libigl64x (6)
Time relative to ordito (CUDA), geometric mean over the energies 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) 10x 3 3
libigl 64x 6 6

edge_length_loss

0.1x1x10xordito (CUDA): 320.2 µs, 1x ordito's timeordito (CUDA)1x · 320.2 µsPyTorch3D (CUDA): 1.89 ms, 5.9x ordito's timePyTorch3D (CUDA)5.9x · 1.89 ms
sphere_large (327 680 faces) · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 320.2 µs 1x
PyTorch3D (CUDA) 1.89 ms 5.9x
All inputs
Input ordito (CUDA) PyTorch3D (CUDA)
sphere_small 144.8 µs 1.16 ms
sphere_med 138.4 µs 1.27 ms
sphere_large 320.2 µs 1.89 ms

normal_consistency_loss

0.1x1x10x100xordito (CUDA): 207.4 µs, 1x ordito's timeordito (CUDA)1x · 207.4 µsPyTorch3D (CUDA): 11.06 ms, 53x ordito's timePyTorch3D (CUDA)53x · 11.06 ms
sphere_large (327 680 faces) · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 207.4 µs 1x
PyTorch3D (CUDA) 11.06 ms 53x
All inputs
Input ordito (CUDA) PyTorch3D (CUDA)
sphere_small 149.9 µs 1.59 ms
sphere_med 148.2 µs 2.51 ms
sphere_large 207.4 µs 11.06 ms

laplacian_smoothing_loss

0.1x1x10xordito (CUDA): 357.9 µs, 1x ordito's timeordito (CUDA)1x · 357.9 µsPyTorch3D (CUDA): 2.92 ms, 8.1x ordito's timePyTorch3D (CUDA)8.1x · 2.92 ms
sphere_large (327 680 faces) · method=uniform · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 357.9 µs 1x
PyTorch3D (CUDA) 2.92 ms 8.1x
All inputs
Input ordito (CUDA) PyTorch3D (CUDA)
sphere_small method=uniform 188.0 µs 1.58 ms
sphere_small method=cotcurv 195.7 µs 1.55 ms
sphere_med method=uniform 204.6 µs 1.98 ms
sphere_med method=cotcurv 296.6 µs 1.71 ms
sphere_large method=uniform 357.9 µs 2.92 ms
sphere_large method=cotcurv 496.3 µs 2.19 ms

k_harmonic

0.1x1x10x100xordito (CUDA): 2.04 ms, 1x ordito's timeordito (CUDA)1x · 2.04 mslibigl: 153.28 ms, 75x ordito's timelibigl75x · 153.28 ms
sphere_large (327 680 faces) · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 2.04 ms 1x
libigl 153.28 ms 75x
All inputs
Input ordito (CUDA) libigl
sphere_small 190.8 µs 1.57 ms
sphere_med 341.4 µs 23.09 ms
sphere_large 2.04 ms 153.28 ms

hessian_energy

0.1x1x10x100x1000xordito (CUDA): 2.90 ms, 1x ordito's timeordito (CUDA)1x · 2.90 mslibigl: 1.098 s, 378x ordito's timelibigl378x · 1.098 s
sphere_large (327 680 faces) · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 2.90 ms 1x
libigl 1.098 s 378x
All inputs
Input ordito (CUDA) libigl
sphere_small 466.0 µs 16.60 ms
sphere_med 779.6 µs 220.95 ms
sphere_large 2.90 ms 1.098 s

curved_hessian_energy

0.1x1x10x100x1000xordito (CUDA): 3.63 ms, 1x ordito's timeordito (CUDA)1x · 3.63 mslibigl: 1.544 s, 426x ordito's timelibigl426x · 1.544 s
sphere_large (327 680 faces) · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 3.63 ms 1x
libigl 1.544 s 426x
All inputs
Input ordito (CUDA) libigl
sphere_small 422.1 µs 24.20 ms
sphere_med 948.8 µs 337.22 ms
sphere_large 3.63 ms 1.544 s

crouzeix_raviart_cotmatrix

0.1x1x10x100x1000xordito (CUDA): 138.4 µs, 1x ordito's timeordito (CUDA)1x · 138.4 µslibigl: 99.76 ms, 721x ordito's timelibigl721x · 99.76 ms
sphere_large (327 680 faces) · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 138.4 µs 1x
libigl 99.76 ms 721x
All inputs
Input ordito (CUDA) libigl
sphere_small 135.1 µs 3.43 ms
sphere_med 129.6 µs 17.40 ms
sphere_large 138.4 µs 99.76 ms

crouzeix_raviart_massmatrix

0.1x1x10x100x1000xordito (CUDA): 87.4 µs, 1x ordito's timeordito (CUDA)1x · 87.4 µslibigl: 12.99 ms, 149x ordito's timelibigl149x · 12.99 ms
sphere_large (327 680 faces) · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 87.4 µs 1x
libigl 12.99 ms 149x
All inputs
Input ordito (CUDA) libigl
sphere_small 79.2 µs 203.3 µs
sphere_med 68.8 µs 2.89 ms
sphere_large 87.4 µs 12.99 ms

vector_area_matrix

0.1x1x10x100xordito (CUDA): 239.6 µs, 1x ordito's timeordito (CUDA)1x · 239.6 µslibigl: 9.43 ms, 39x ordito's timelibigl39x · 9.43 ms
hemisphere (41 088 faces) · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 239.6 µs 1x
libigl 9.43 ms 39x
All inputs
Input ordito (CUDA) libigl
saddle_small 238.4 µs 1.70 ms
saddle 312.2 µs 7.36 ms
hemisphere 239.6 µs 9.43 ms

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)
lscm_hessian sphere_large 663.1 µs