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.
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
sphere_med (81 920 faces) · time relative to ordito, log scaleValues
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
dragon (871 414 faces) · time relative to ordito, log scaleValues
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
dragon (871 414 faces) · time relative to ordito, log scaleValues
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: