Benchmarks of ordito.ray 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 ray 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
Open3D
1.9x
3
3
MeshLib
2.1x
3
3
PyVista
56x
1
1
trimesh
189x
1
1
intersects_first
sphere_med (81 920 faces) · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
152.0 µs
1x
Open3D
235.8 µs
1.6x
MeshLib
271.7 µs
1.8x
All inputs
Input
ordito (CUDA)
MeshLib
Open3D
shells_8
118.8 µs
281.7 µs
279.5 µs
sphere_med
152.0 µs
271.7 µs
235.8 µs
intersects_any
sphere_med (81 920 faces) · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
138.6 µs
1x
MeshLib
311.5 µs
2.2x
Open3D
453.5 µs
3.3x
All inputs
Input
ordito (CUDA)
MeshLib
Open3D
shells_8
114.2 µs
313.3 µs
169.6 µs
sphere_med
138.6 µs
311.5 µs
453.5 µs
intersects_location
sphere_med (81 920 faces) · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
183.9 µs
1x
MeshLib
318.1 µs
1.7x
Open3D
511.3 µs
2.8x
All inputs
Input
ordito (CUDA)
MeshLib
Open3D
shells_8
172.7 µs
331.2 µs
178.4 µs
sphere_med
183.9 µs
318.1 µs
511.3 µs
longest_ray
sphere_med (81 920 faces) · time relative to ordito, log scaleValues
Library
Median
Relative to ordito
ordito (CUDA)
144.0 µs
1x
trimesh
15.10 ms
105x
All inputs
Input
ordito (CUDA)
trimesh
shells_8
115.5 µs
39.39 ms
sphere_med
144.0 µs
15.10 ms
contains_points
sphere_med (81 920 faces) · time relative to ordito, log scaleValues