Benchmarks of ordito.sample 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 sample 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
14x
1
1
PyTorch3D (CUDA)
21x
1
1
Open3D
134x
2
2
MeshLab
169x
2
2
libigl
356x
2
2
trimesh
776x
2
2
sample_surface
dragon (871 414 faces) · count=10000 · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
51.4 µs
1x
PyTorch3D (CUDA)
1.57 ms
31x
Open3D
10.13 ms
197x
libigl
13.15 ms
256x
trimesh
188.51 ms
3667x
All inputs
Input
ordito (CUDA)
libigl
Open3D
PyTorch3D (CUDA)
trimesh
sphere_small count=10000
73.3 µs
sphere_small count=100000
128.2 µs
bunny_decimated count=10000
57.1 µs
4.30 ms
1.38 ms
946.5 µs
4.35 ms
bunny_decimated count=100000
82.0 µs
26.61 ms
12.87 ms
961.2 µs
19.88 ms
bunny count=10000
49.8 µs
4.60 ms
2.26 ms
1.03 ms
12.87 ms
bunny count=100000
65.0 µs
27.58 ms
16.44 ms
990.0 µs
30.18 ms
dragon count=10000
51.4 µs
13.15 ms
10.13 ms
1.57 ms
188.51 ms
dragon count=100000
70.0 µs
39.71 ms
35.98 ms
1.58 ms
223.10 ms
happy_buddha count=10000
51.8 µs
15.87 ms
12.70 ms
1.73 ms
237.76 ms
happy_buddha count=100000
71.5 µs
42.74 ms
40.83 ms
1.74 ms
261.84 ms
lucy count=10000
732.5 µs
551.01 ms
592.40 ms
failed (predicted)
7.086 s
lucy count=100000
764.6 µs
576.49 ms
665.14 ms
failed (predicted)
7.155 s
blue_noise
dragon (871 414 faces) · radius_scale=1.0 · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
1.20 ms
1x
MeshLib
12.42 ms
10x
Open3D
44.05 ms
37x
libigl
255.55 ms
213x
MeshLab
449.87 ms
375x
All inputs
Input
ordito (CUDA)
libigl
MeshLab
MeshLib
Open3D
sphere_small radius_scale=1.0
957.8 µs
sphere_small radius_scale=0.5
1.65 ms
bunny_decimated radius_scale=1.0
957.9 µs
220.25 ms
48.80 ms
11.75 ms
33.37 ms
bunny_decimated radius_scale=0.5
1.66 ms
958.97 ms
227.97 ms
39.62 ms
152.43 ms
bunny radius_scale=1.0
938.7 µs
235.73 ms
61.81 ms
11.65 ms
33.59 ms
bunny radius_scale=0.5
1.75 ms
965.64 ms
246.42 ms
39.37 ms
153.61 ms
dragon radius_scale=1.0
1.20 ms
255.55 ms
449.87 ms
12.42 ms
44.05 ms
dragon radius_scale=0.5
1.86 ms
1.011 s
656.19 ms
41.00 ms
171.24 ms
happy_buddha radius_scale=1.0
1.16 ms
263.80 ms
549.74 ms
12.09 ms
48.92 ms
happy_buddha radius_scale=0.5
1.84 ms
1.025 s
774.28 ms
41.98 ms
181.88 ms
lucy radius_scale=1.0
2.43 ms
1.163 s
15.185 s
12.89 ms
622.69 ms
lucy radius_scale=0.5
3.29 ms
1.919 s
15.491 s
41.49 ms
771.83 ms
sample_fibonacci_sphere
count=1024 · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
27.5 µs
1x
MeshLab
132.4 µs
4.8x
All inputs
Input
ordito (CUDA)
MeshLab
count=1024
27.5 µs
132.4 µs
count=1048576
91.3 µs
111.60 ms
sample_surface_in_ball
dragon (871 414 faces) · method=uniform · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
204.0 µs
1x
trimesh
184.03 ms
902x
All inputs
Input
ordito (CUDA)
trimesh
sphere_small method=uniform
106.4 µs
sphere_small method=poisson_disk
1.83 ms
sphere_small method=blue_noise
952.1 µs
bunny_decimated method=uniform
120.1 µs
5.59 ms
bunny_decimated method=poisson_disk
1.77 ms
bunny_decimated method=blue_noise
929.6 µs
bunny method=uniform
116.9 µs
15.00 ms
bunny method=poisson_disk
1.72 ms
bunny method=blue_noise
932.5 µs
dragon method=uniform
204.0 µs
184.03 ms
dragon method=poisson_disk
2.07 ms
dragon method=blue_noise
1.01 ms
happy_buddha method=uniform
224.8 µs
230.31 ms
happy_buddha method=poisson_disk
2.10 ms
happy_buddha method=blue_noise
1.16 ms
lucy method=uniform
3.02 ms
6.895 s
lucy method=poisson_disk
5.09 ms
lucy method=blue_noise
3.91 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: