Skip to content

normals

Benchmarks of ordito.normals 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: 6.9x ordito's time, geometric mean over 1 functions; slower than ordito in 1MeshLib6.9x (1)PyTorch3D (CUDA): 16x ordito's time, geometric mean over 1 functions; slower than ordito in 1PyTorch3D (CUDA)16x (1)Open3D: 20x ordito's time, geometric mean over 1 functions; slower than ordito in 1Open3D20x (1)MeshLab: 48x ordito's time, geometric mean over 2 functions; slower than ordito in 2MeshLab48x (2)trimesh: 254x ordito's time, geometric mean over 3 functions; slower than ordito in 3trimesh254x (3)PyVista: 288x ordito's time, geometric mean over 1 functions; slower than ordito in 1PyVista288x (1)
Time relative to ordito (CUDA), geometric mean over the normals 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 6.9x 1 1
PyTorch3D (CUDA) 16x 1 1
Open3D 20x 1 1
MeshLab 48x 2 2
trimesh 254x 3 3
PyVista 288x 1 1

vertex_normals

0.1x1x10x100x1000xordito (CUDA): 36.9 µs, 1x ordito's timeordito (CUDA)1x · 36.9 µsMeshLib: 116.9 µs, 3.2x ordito's timeMeshLib3.2x · 116.9 µsPyTorch3D (CUDA): 627.5 µs, 17x ordito's timePyTorch3D (CUDA)17x · 627.5 µsOpen3D: 864.3 µs, 23x ordito's timeOpen3D23x · 864.3 µsMeshLab: 1.32 ms, 36x ordito's timeMeshLab36x · 1.32 mstrimesh: 21.66 ms, 588x ordito's timetrimesh588x · 21.66 ms
sphere_med (81 920 faces) · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 36.9 µs 1x
MeshLib 116.9 µs 3.2x
PyTorch3D (CUDA) 627.5 µs 17x
Open3D 864.3 µs 23x
MeshLab 1.32 ms 36x
trimesh 21.66 ms 588x
All inputs
Input ordito (CUDA) MeshLab MeshLib Open3D PyTorch3D (CUDA) trimesh
sphere_med 36.9 µs 1.32 ms 116.9 µs 864.3 µs 627.5 µs 21.66 ms
fan_hub 46.4 µs 1.22 ms 696.8 µs 799.9 µs 678.0 µs 23.98 ms

mean_vertex_normals

0.1x1x10x100x1000xordito (CUDA): 112.2 µs, 1x ordito's timeordito (CUDA)1x · 112.2 µsMeshLab: 22.17 ms, 198x ordito's timeMeshLab198x · 22.17 mstrimesh: 40.53 ms, 361x ordito's timetrimesh361x · 40.53 msPyVista: 67.55 ms, 602x ordito's timePyVista602x · 67.55 ms
dragon (871 414 faces) · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 112.2 µs 1x
MeshLab 22.17 ms 198x
trimesh 40.53 ms 361x
PyVista 67.55 ms 602x
All inputs
Input ordito (CUDA) MeshLab PyVista trimesh
sphere_small 38.4 µs
bunny_decimated 38.8 µs 287.8 µs 1.54 ms 357.5 µs
bunny 31.1 µs 1.10 ms 6.10 ms 1.53 ms
dragon 112.2 µs 22.17 ms 67.55 ms 40.53 ms
happy_buddha 133.3 µs 28.52 ms 85.51 ms 50.40 ms
lucy 4.36 ms 920.93 ms 2.896 s 1.310 s

weighted_vertex_normals

0.1x1x10x100x1000xordito (CUDA): 125.9 µs, 1x ordito's timeordito (CUDA)1x · 125.9 µstrimesh: 96.54 ms, 767x ordito's timetrimesh767x · 96.54 ms
dragon (871 414 faces) · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 125.9 µs 1x
trimesh 96.54 ms 767x
All inputs
Input ordito (CUDA) trimesh
sphere_small 50.7 µs
bunny_decimated 34.1 µs 1.06 ms
bunny 44.9 µs 4.48 ms
dragon 125.9 µs 96.54 ms
happy_buddha 145.8 µs 124.72 ms
lucy 4.45 ms 2.673 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)
vertex_normals_precomputed fan_hub 68.2 µs
vertex_normals_one_table fan_hub supplied=face_weights weighting=angle 61.6 µs