Skip to content

transform

Benchmarks of ordito.transform 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.1x1x10x100xordito (CUDA): the reference, 1xordito (CUDA)1xPyTorch3D (CUDA): 3.2x ordito's time, geometric mean over 2 functions; slower than ordito in 2PyTorch3D (CUDA)3.2x (2)trimesh: 8.4x ordito's time, geometric mean over 4 functions; slower than ordito in 2trimesh8.4x (4)Open3D: 47x ordito's time, geometric mean over 1 functions; slower than ordito in 1Open3D47x (1)PyVista: 93x ordito's time, geometric mean over 2 functions; slower than ordito in 2PyVista93x (2)
Time relative to ordito (CUDA), geometric mean over the transform 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
PyTorch3D (CUDA) 3.2x 2 2
trimesh 8.4x 4 2
Open3D 47x 1 1
PyVista 93x 2 2

transform_points

0.1x1x10x100x1000xordito (CUDA): 19.9 µs, 1x ordito's timeordito (CUDA)1x · 19.9 µsPyTorch3D (CUDA): 66.4 µs, 3.3x ordito's timePyTorch3D (CUDA)3.3x · 66.4 µsOpen3D: 2.68 ms, 135x ordito's timeOpen3D135x · 2.68 msPyVista: 2.71 ms, 136x ordito's timePyVista136x · 2.71 mstrimesh: 3.80 ms, 191x ordito's timetrimesh191x · 3.80 ms
dragon (871 414 faces) · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 19.9 µs 1x
PyTorch3D (CUDA) 66.4 µs 3.3x
Open3D 2.68 ms 135x
PyVista 2.71 ms 136x
trimesh 3.80 ms 191x
All inputs
Input ordito (CUDA) Open3D PyTorch3D (CUDA) PyVista trimesh
sphere_small 35.0 µs
bunny_decimated 28.9 µs 44.9 µs 61.2 µs 298.7 µs 81.4 µs
bunny 19.9 µs 198.8 µs 55.7 µs 476.6 µs 495.6 µs
dragon 19.9 µs 2.68 ms 66.4 µs 2.71 ms 3.80 ms
happy_buddha 25.9 µs 2.69 ms 71.5 µs 3.91 ms 6.32 ms
lucy 248.6 µs 270.60 ms 1.99 ms 400.36 ms 267.02 ms

transform_mesh

0.1x1x10x100x1000x10000xordito (CUDA): 32.1 µs, 1x ordito's timeordito (CUDA)1x · 32.1 µstrimesh: 94.51 ms, 2947x ordito's timetrimesh2947x · 94.51 ms
dragon (871 414 faces) · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 32.1 µs 1x
trimesh 94.51 ms 2947x
All inputs
Input ordito (CUDA) trimesh
sphere_small 37.0 µs
bunny_decimated 35.1 µs 1.38 ms
bunny 43.0 µs 5.52 ms
dragon 32.1 µs 94.51 ms
happy_buddha 43.9 µs 117.38 ms
lucy 718.1 µs 2.974 s

transform_normals

0.1x1x10x100x1000xordito (CUDA): 59.8 µs, 1x ordito's timeordito (CUDA)1x · 59.8 µsPyTorch3D (CUDA): 133.6 µs, 2.2x ordito's timePyTorch3D (CUDA)2.2x · 133.6 µsPyVista: 6.38 ms, 107x ordito's timePyVista107x · 6.38 ms
dragon (871 414 faces) · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 59.8 µs 1x
PyTorch3D (CUDA) 133.6 µs 2.2x
PyVista 6.38 ms 107x
All inputs
Input ordito (CUDA) PyTorch3D (CUDA) PyVista
sphere_small 54.3 µs
bunny_decimated 42.2 µs 136.8 µs 413.8 µs
bunny 40.6 µs 143.0 µs 744.4 µs
dragon 59.8 µs 133.6 µs 6.38 ms
happy_buddha 61.3 µs 137.1 µs 8.45 ms
lucy 287.5 µs 1.19 ms 666.64 ms

translation_matrix

0.01x0.1x1xtrimesh: 4.4 µs, 0.42x ordito's timetrimesh0.42x · 4.4 µsordito (CUDA): 10.6 µs, 1x ordito's timeordito (CUDA)1x · 10.6 µs
time relative to ordito, log scale
Values
Library Median Relative to ordito
trimesh 4.4 µs 0.42x
ordito (CUDA) 10.6 µs 1x
All inputs
Input ordito (CUDA) trimesh
— 10.6 µs 4.4 µs

scale_matrix

0.01x0.1x1xtrimesh: 4.3 µs, 0.20x ordito's timetrimesh0.20x · 4.3 µsordito (CUDA): 21.1 µs, 1x ordito's timeordito (CUDA)1x · 21.1 µs
time relative to ordito, log scale
Values
Library Median Relative to ordito
trimesh 4.3 µs 0.20x
ordito (CUDA) 21.1 µs 1x
All inputs
Input ordito (CUDA) trimesh
— 21.1 µs 4.3 µ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)
transform_points_inplace lucy 231.0 µs
transform_vectors lucy 258.2 µs
transform_mesh_device_matrix lucy 683.0 µs
normal_matrix form=device 49.7 µs
classify_transform form=device 82.2 µs
transform_scale form=device 21.9 µs
as_mat44 form=device 17.5 µs
matrix_to_numpy form=device 15.0 µs
reverses_orientation form=device 25.9 µs