Skip to content

geodesic_walk

Benchmarks of ordito.geodesic_walk 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.56x ordito's time, geometric mean over 2 functions; slower than ordito in 1MeshLib0.56x (2)ordito (CUDA): the reference, 1xordito (CUDA)1xpotpourri3d: 85x ordito's time, geometric mean over 6 functions; slower than ordito in 6potpourri3d85x (6)libigl: 251x ordito's time, geometric mean over 1 functions; slower than ordito in 1libigl251x (1)
Time relative to ordito (CUDA), geometric mean over the geodesic_walk 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.56x 2 1
potpourri3d 85x 6 6
libigl 251x 1 1

trace_rays

0.1x1x10x100x1000xordito (CUDA): 318.0 µs, 1x ordito's timeordito (CUDA)1x · 318.0 µspotpourri3d: 64.57 ms, 203x ordito's timepotpourri3d203x · 64.57 ms
sphere_med (81 920 faces) · n_rays=1 · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 318.0 µs 1x
potpourri3d 64.57 ms 203x
All inputs
Input ordito (CUDA) potpourri3d
sphere_med n_rays=1 318.0 µs 64.57 ms
sphere_med n_rays=64 325.8 µs 63.55 ms
sphere_med n_rays=4096 389.9 µs 78.50 ms

trace_locality

0.1x1x10x100x1000xordito (CUDA): 304.8 µs, 1x ordito's timeordito (CUDA)1x · 304.8 µspotpourri3d: 67.37 ms, 221x ordito's timepotpourri3d221x · 67.37 ms
sphere_med (81 920 faces) · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 304.8 µs 1x
potpourri3d 67.37 ms 221x
All inputs
Input ordito (CUDA) potpourri3d
ribbon_long 282.8 µs 38.34 ms
sphere_med 304.8 µs 67.37 ms

trace_from_face

0.1x1x10x100x1000x10000xordito (CUDA): 298.8 µs, 1x ordito's timeordito (CUDA)1x · 298.8 µspotpourri3d: 367.70 ms, 1231x ordito's timepotpourri3d1231x · 367.70 ms
sphere_large (327 680 faces) · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 298.8 µs 1x
potpourri3d 367.70 ms 1231x
All inputs
Input ordito (CUDA) potpourri3d
sphere_small 212.6 µs 6.72 ms
sphere_med 309.0 µs 66.11 ms
sphere_large 298.8 µs 367.70 ms

geodesic_path

0.01x0.1x1x10x100x1000xMeshLib: 2.26 ms, 0.31x ordito's timeMeshLib0.31x · 2.26 msordito (CUDA): 7.30 ms, 1x ordito's timeordito (CUDA)1x · 7.30 mspotpourri3d: 95.10 ms, 13x ordito's timepotpourri3d13x · 95.10 mslibigl: 1.838 s, 252x ordito's timelibigl252x · 1.838 s
sphere_med (81 920 faces) · n_paths=1 · time relative to ordito, log scale
Values
Library Median Relative to ordito
MeshLib 2.26 ms 0.31x
ordito (CUDA) 7.30 ms 1x
potpourri3d 95.10 ms 13x
libigl 1.838 s 252x
All inputs
Input ordito (CUDA) libigl MeshLib potpourri3d
sphere_med n_paths=1 7.30 ms 1.838 s 2.26 ms 95.10 ms
sphere_med n_paths=64 7.56 ms 1.895 s 107.04 ms 622.30 ms
sphere_med n_paths=4096 9.57 ms

geodesic_path_potpourri3d

0.1x1x10x100xordito (CUDA): 7.83 ms, 1x ordito's timeordito (CUDA)1x · 7.83 mspotpourri3d: 95.87 ms, 12x ordito's timepotpourri3d12x · 95.87 ms
sphere_med (81 920 faces) · n_paths=1 · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 7.83 ms 1x
potpourri3d 95.87 ms 12x
All inputs
Input ordito (CUDA) potpourri3d
sphere_med n_paths=1 7.83 ms 95.87 ms
sphere_med n_paths=64 32.16 ms 624.07 ms

shorten_loop

0.1x1x10x100x1000xordito (CUDA): 1.28 ms, 1x ordito's timeordito (CUDA)1x · 1.28 mspotpourri3d: 152.17 ms, 118x ordito's timepotpourri3d118x · 152.17 ms
handles_64 (93 976 faces) · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 1.28 ms 1x
potpourri3d 152.17 ms 118x
All inputs
Input ordito (CUDA) potpourri3d
handles_1 987.4 µs 90.16 ms
handles_64 1.28 ms 152.17 ms

descend_field

0.001x0.01x0.1x1xMeshLib: 22.1 µs, 0.03x ordito's timeMeshLib0.03x · 22.1 µsordito (CUDA): 788.7 µs, 1x ordito's timeordito (CUDA)1x · 788.7 µs
sphere_med (81 920 faces) · n_paths=1 · time relative to ordito, log scale
Values
Library Median Relative to ordito
MeshLib 22.1 µs 0.03x
ordito (CUDA) 788.7 µs 1x
All inputs
Input ordito (CUDA) MeshLib
sphere_med n_paths=1 788.7 µs 22.1 µs
sphere_med n_paths=64 1.07 ms 854.8 µs
sphere_med n_paths=4096 1.27 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)
shorten_loop_with_offsets handles_64 910.6 µs