Skip to content

Benchmarks

ordito runs on the GPU, and the libraries most mesh-processing code reaches for do not. This page compares the two on the same inputs: ordito on CUDA against twelve reference libraries — trimesh, libigl, Open3D, SciPy, NumPy, potpourri3d (geometry-central), MeshLab (through PyMeshLab), PyVista (VTK), MeshLib, PyMeshFix, manifold3d (Manifold) and PyTorch3D, the one other library with GPU kernels.

Every comparison times the same quantity on both sides, and the correctness suite checks that the two answers agree. A time is the median of repeated calls from Python, including the wait for the GPU to finish, so it is what a caller measures. The inputs are real 3D scans from the Stanford repository (from 16 thousand to 28 million triangles) and synthetic meshes that each stress one cost driver: many components, long boundaries, needle triangles, high valence.

Measured on GPU: NVIDIA GeForce RTX 5090 · CPU: Intel Xeon w7-2495X

Summary

How long each library takes relative to ordito, over every function both implement: ordito is 1x, and a library at 30x takes thirty times as long. Each function counts once: its ratio is first averaged over the inputs it was measured on, then the functions are averaged. Both averages are geometric means, the usual way to combine ratios: a 10x win and a 10x loss cancel out.

0.1x1x10x100x1000xordito (CUDA): the reference, 1xordito (CUDA)1xmanifold3d: 6x ordito's time, geometric mean over 22 functions; slower than ordito in 19manifold3d6x (22)MeshLib: 7.3x ordito's time, geometric mean over 145 functions; slower than ordito in 119MeshLib7.3x (145)PyTorch3D (CUDA): 11x ordito's time, geometric mean over 42 functions; slower than ordito in 41PyTorch3D (CUDA)11x (42)NumPy: 16x ordito's time, geometric mean over 43 functions; slower than ordito in 39NumPy16x (43)Open3D: 34x ordito's time, geometric mean over 98 functions; slower than ordito in 93Open3D34x (98)SciPy: 51x ordito's time, geometric mean over 24 functions; slower than ordito in 24SciPy51x (24)potpourri3d: 65x ordito's time, geometric mean over 31 functions; slower than ordito in 31potpourri3d65x (31)libigl: 85x ordito's time, geometric mean over 118 functions; slower than ordito in 117libigl85x (118)PyVista: 96x ordito's time, geometric mean over 81 functions; slower than ordito in 79PyVista96x (81)trimesh: 102x ordito's time, geometric mean over 144 functions; slower than ordito in 140trimesh102x (144)MeshLab: 116x ordito's time, geometric mean over 104 functions; slower than ordito in 104MeshLab116x (104)PyMeshFix: 494x ordito's time, geometric mean over 4 functions; slower than ordito in 4PyMeshFix494x (4)
Time relative to ordito (CUDA), geometric mean over every function 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
manifold3d 6x 22 19
MeshLib 7.3x 145 119
PyTorch3D (CUDA) 11x 42 41
NumPy 16x 43 39
Open3D 34x 98 93
SciPy 51x 24 24
potpourri3d 65x 31 31
libigl 85x 118 117
PyVista 96x 81 79
trimesh 102x 144 140
MeshLab 116x 104 104
PyMeshFix 494x 4 4

Libraries are compared on different sets of functions, so each bar measures one library against ordito, not the libraries against each other. The libraries closest to ordito are the ones whose functions are mostly fast, compiled code on small inputs; the gaps grow with the input.

By module

ordito's speedup per module, against the fastest library measured on each input — the toughest comparison available for each function. Each module has its own page, with a chart for every function.

1x10x100x1000x10000xtexture: ordito 2696x faster than the fastest library, geometric mean over 1 functions; faster in 1texture2696x (1)adjacency: ordito 189x faster than the fastest library, geometric mean over 7 functions; faster in 7adjacency189x (7)triangles: ordito 182x faster than the fastest library, geometric mean over 10 functions; faster in 10triangles182x (10)tangent_space: ordito 138x faster than the fastest library, geometric mean over 2 functions; faster in 2tangent_space138x (2)grouping: ordito 86x faster than the fastest library, geometric mean over 4 functions; faster in 4grouping86x (4)curvature: ordito 82x faster than the fastest library, geometric mean over 10 functions; faster in 10curvature82x (10)edges: ordito 79x faster than the fastest library, geometric mean over 14 functions; faster in 14edges79x (14)validation: ordito 69x faster than the fastest library, geometric mean over 14 functions; faster in 14validation69x (14)sample: ordito 66x faster than the fastest library, geometric mean over 4 functions; faster in 4sample66x (4)smoothing: ordito 58x faster than the fastest library, geometric mean over 25 functions; faster in 24smoothing58x (25)seams: ordito 52x faster than the fastest library, geometric mean over 4 functions; faster in 4seams52x (4)graph: ordito 51x faster than the fastest library, geometric mean over 6 functions; faster in 6graph51x (6)normals: ordito 51x faster than the fastest library, geometric mean over 3 functions; faster in 3normals51x (3)laplacian: ordito 45x faster than the fastest library, geometric mean over 9 functions; faster in 9laplacian45x (9)repair: ordito 45x faster than the fastest library, geometric mean over 22 functions; faster in 20repair45x (22)measures: ordito 36x faster than the fastest library, geometric mean over 3 functions; faster in 3measures36x (3)energies: ordito 35x faster than the fastest library, geometric mean over 9 functions; faster in 9energies35x (9)points: ordito 30x faster than the fastest library, geometric mean over 33 functions; faster in 33points30x (33)remesh: ordito 28x faster than the fastest library, geometric mean over 15 functions; faster in 15remesh28x (15)neighbors: ordito 26x faster than the fastest library, geometric mean over 15 functions; faster in 15neighbors26x (15)mesh: ordito 26x faster than the fastest library, geometric mean over 14 functions; faster in 14mesh26x (14)metrics: ordito 25x faster than the fastest library, geometric mean over 8 functions; faster in 8metrics25x (8)heat: ordito 25x faster than the fastest library, geometric mean over 19 functions; faster in 19heat25x (19)geodesic_walk: ordito 23x faster than the fastest library, geometric mean over 7 functions; faster in 6geodesic_walk23x (7)interpolation: ordito 21x faster than the fastest library, geometric mean over 6 functions; faster in 6interpolation21x (6)levelset: ordito 21x faster than the fastest library, geometric mean over 8 functions; faster in 8levelset21x (8)visibility: ordito 20x faster than the fastest library, geometric mean over 6 functions; faster in 6visibility20x (6)array: ordito 20x faster than the fastest library, geometric mean over 21 functions; faster in 20array20x (21)parametrization: ordito 19x faster than the fastest library, geometric mean over 9 functions; faster in 9parametrization19x (9)creation: ordito 19x faster than the fastest library, geometric mean over 22 functions; faster in 18creation19x (22)registration: ordito 14x faster than the fastest library, geometric mean over 9 functions; faster in 9registration14x (9)combine: ordito 12x faster than the fastest library, geometric mean over 2 functions; faster in 2combine12x (2)selection: ordito 9.8x faster than the fastest library, geometric mean over 9 functions; faster in 6selection9.8x (9)proximity: ordito 8.6x faster than the fastest library, geometric mean over 6 functions; faster in 4proximity8.6x (6)intersection: ordito 8.5x faster than the fastest library, geometric mean over 12 functions; faster in 8intersection8.5x (12)voxels: ordito 7.4x faster than the fastest library, geometric mean over 15 functions; faster in 12voxels7.4x (15)reduce: ordito 7.3x faster than the fastest library, geometric mean over 22 functions; faster in 18reduce7.3x (22)ray: ordito 6.8x faster than the fastest library, geometric mean over 7 functions; faster in 6ray6.8x (7)reconstruction: ordito 6.7x faster than the fastest library, geometric mean over 7 functions; faster in 7reconstruction6.7x (7)holes: ordito 6.2x faster than the fastest library, geometric mean over 16 functions; faster in 12holes6.2x (16)boundary: ordito 4.5x faster than the fastest library, geometric mean over 7 functions; faster in 3boundary4.5x (7)homology: ordito 4.3x faster than the fastest library, geometric mean over 1 functions; faster in 1homology4.3x (1)transform: ordito 3.6x faster than the fastest library, geometric mean over 5 functions; faster in 3transform3.6x (5)linalg: ordito 3.3x faster than the fastest library, geometric mean over 1 functions; faster in 1linalg3.3x (1)polyline: ordito 2.3x faster than the fastest library, geometric mean over 11 functions; faster in 6polyline2.3x (11)boolean: ordito 2.3x faster than the fastest library, geometric mean over 9 functions; faster in 9boolean2.3x (9)bounds: ordito 1.4x faster than the fastest library, geometric mean over 9 functions; faster in 7bounds1.4x (9)
ordito (CUDA)'s speedup over the fastest library measured on each input, geometric mean per module; in parentheses, the number of functions. Log scale.
Values
Module ordito's speedup Functions ordito faster in
texture 2696x 1 1
adjacency 189x 7 7
triangles 182x 10 10
tangent_space 138x 2 2
grouping 86x 4 4
curvature 82x 10 10
edges 79x 14 14
validation 69x 14 14
sample 66x 4 4
smoothing 58x 25 24
seams 52x 4 4
graph 51x 6 6
normals 51x 3 3
laplacian 45x 9 9
repair 45x 22 20
measures 36x 3 3
energies 35x 9 9
points 30x 33 33
remesh 28x 15 15
neighbors 26x 15 15
mesh 26x 14 14
metrics 25x 8 8
heat 25x 19 19
geodesic_walk 23x 7 6
interpolation 21x 6 6
levelset 21x 8 8
visibility 20x 6 6
array 20x 21 20
parametrization 19x 9 9
creation 19x 22 18
registration 14x 9 9
combine 12x 2 2
selection 9.8x 9 6
proximity 8.6x 6 4
intersection 8.5x 12 8
voxels 7.4x 15 12
reduce 7.3x 22 18
ray 6.8x 7 6
reconstruction 6.7x 7 7
holes 6.2x 16 12
boundary 4.5x 7 3
homology 4.3x 1 1
transform 3.6x 5 3
linalg 3.3x 1 1
polyline 2.3x 11 6
boolean 2.3x 9 9
bounds 1.4x 9 7

Highlights

The comparisons with the widest field of libraries. Each chart shows one input, with ordito at 1x and every other library's time relative to it; each module's page has every function and every input.

Signed distance to a mesh

Signed distance from a point set to a triangle mesh, the widest field among the spatial queries.

0.1x1x10x100x1000x10000xordito (CUDA): 4.69 ms, 1x ordito's timeordito (CUDA)1x · 4.69 msMeshLib: 34.05 ms, 7.3x ordito's timeMeshLib7.3x · 34.05 msOpen3D: 270.03 ms, 58x ordito's timeOpen3D58x · 270.03 msPyVista: 1.025 s, 219x ordito's timePyVista219x · 1.025 slibigl: 1.124 s, 240x ordito's timelibigl240x · 1.124 sMeshLab: 7.289 s, 1554x ordito's timeMeshLab1554x · 7.289 strimesh: 26.022 s, 5548x ordito's timetrimesh5548x · 26.022 s
dragon (871 414 faces) · sign_mode=parity · time relative to ordito, log scale · [all proximity benchmarks](proximity.md)
Values
Library Median Relative to ordito
ordito (CUDA) 4.69 ms 1x
MeshLib 34.05 ms 7.3x
Open3D 270.03 ms 58x
PyVista 1.025 s 219x
libigl 1.124 s 240x
MeshLab 7.289 s 1554x
trimesh 26.022 s 5548x

Nearest neighbours, k = 7

Seven nearest neighbours of every query point, against CPU trees and PyTorch3D's GPU kernel.

0.1x1x10x100xordito (CUDA): 1.85 ms, 1x ordito's timeordito (CUDA)1x · 1.85 msPyTorch3D (CUDA): 44.53 ms, 24x ordito's timePyTorch3D (CUDA)24x · 44.53 msOpen3D: 114.34 ms, 62x ordito's timeOpen3D62x · 114.34 msSciPy: 144.94 ms, 78x ordito's timeSciPy78x · 144.94 mslibigl: out of memory (predicted)libiglout of memory (predicted)
dragon (871 414 faces) · time relative to ordito, log scale · a red cross is a run that left no time · [all neighbors benchmarks](neighbors.md)
Values
Library Median Relative to ordito
ordito (CUDA) 1.85 ms 1x
PyTorch3D (CUDA) 44.53 ms 24x
Open3D 114.34 ms 62x
SciPy 144.94 ms 78x
libigl out of memory (predicted)

Nearest neighbour, k = 1

The same query with a single neighbour. Every library with a tree, ordito included, builds it over the cloud inside the timed call, and the build is most of the work: about two thirds of ordito's time.

0.1x1x10x100x1000xordito (CUDA): 628.0 µs, 1x ordito's timeordito (CUDA)1x · 628.0 µsMeshLib: 14.00 ms, 22x ordito's timeMeshLib22x · 14.00 msPyTorch3D (CUDA): 33.72 ms, 54x ordito's timePyTorch3D (CUDA)54x · 33.72 msOpen3D: 113.52 ms, 181x ordito's timeOpen3D181x · 113.52 msSciPy: 133.10 ms, 212x ordito's timeSciPy212x · 133.10 mslibigl: out of memory (predicted)libiglout of memory (predicted)
dragon (871 414 faces) · time relative to ordito, log scale · a red cross is a run that left no time · [all neighbors benchmarks](neighbors.md)
Values
Library Median Relative to ordito
ordito (CUDA) 628.0 µs 1x
MeshLib 14.00 ms 22x
PyTorch3D (CUDA) 33.72 ms 54x
Open3D 113.52 ms 181x
SciPy 133.10 ms 212x
libigl out of memory (predicted)

Quadric decimation

Edge-collapse simplification under the quadric error metric, against five independent decimators.

0.1x1x10x100xordito (CUDA): 2.81 ms, 1x ordito's timeordito (CUDA)1x · 2.81 msMeshLib: 16.16 ms, 5.7x ordito's timeMeshLib5.7x · 16.16 msPyVista: 44.68 ms, 16x ordito's timePyVista16x · 44.68 msOpen3D: 45.03 ms, 16x ordito's timeOpen3D16x · 45.03 mslibigl: 52.29 ms, 19x ordito's timelibigl19x · 52.29 msMeshLab: 254.90 ms, 91x ordito's timeMeshLab91x · 254.90 ms
saddle (34 848 faces) · target_ratio=0.5 · time relative to ordito, log scale · [all remesh benchmarks](remesh.md)
Values
Library Median Relative to ordito
ordito (CUDA) 2.81 ms 1x
MeshLib 16.16 ms 5.7x
PyVista 44.68 ms 16x
Open3D 45.03 ms 16x
libigl 52.29 ms 19x
MeshLab 254.90 ms 91x

Mesh Booleans

Union of two closed spheres of 328 thousand faces each, rotated and shifted so their surfaces cross along a long curve. manifold3d is Manifold itself, the library ordito.boolean ports, run on all CPU cores; trimesh calls the same engine, and MeshLab is libigl's exact CGAL Boolean. Every library returns a closed solid, and ordito returns Manifold's very mesh.

0.1x1x10x100x1000xordito (CUDA): 7.88 ms, 1x ordito's timeordito (CUDA)1x · 7.88 msmanifold3d: 31.20 ms, 4x ordito's timemanifold3d4x · 31.20 msMeshLib: 33.32 ms, 4.2x ordito's timeMeshLib4.2x · 33.32 mstrimesh: 139.86 ms, 18x ordito's timetrimesh18x · 139.86 msMeshLab: 2.529 s, 321x ordito's timeMeshLab321x · 2.529 s
sphere_large (327 680 faces) · time relative to ordito, log scale · [all boolean benchmarks](boolean.md)
Values
Library Median Relative to ordito
ordito (CUDA) 7.88 ms 1x
manifold3d 31.20 ms 4x
MeshLib 33.32 ms 4.2x
trimesh 139.86 ms 18x
MeshLab 2.529 s 321x

Minimal oriented bounding box

Every library here searches for the minimum-volume box, not the PCA box, so the bars compare the same optimisation.

0.1x1x10x100x1000x10000xordito (CUDA): 1.22 ms, 1x ordito's timeordito (CUDA)1x · 1.22 msPyVista: 19.65 ms, 16x ordito's timePyVista16x · 19.65 mstrimesh: 154.05 ms, 126x ordito's timetrimesh126x · 154.05 msOpen3D: 2.035 s, 1667x ordito's timeOpen3D1667x · 2.035 slibigl: 2.378 s, 1947x ordito's timelibigl1947x · 2.378 s
dragon (871 414 faces) · time relative to ordito, log scale · [all bounds benchmarks](bounds.md)
Values
Library Median Relative to ordito
ordito (CUDA) 1.22 ms 1x
PyVista 19.65 ms 16x
trimesh 154.05 ms 126x
Open3D 2.035 s 1667x
libigl 2.378 s 1947x

Convex hull

0.1x1x10x100x1000xordito (CUDA): 1.82 ms, 1x ordito's timeordito (CUDA)1x · 1.82 msMeshLib: 21.56 ms, 12x ordito's timeMeshLib12x · 21.56 msmanifold3d: 24.63 ms, 14x ordito's timemanifold3d14x · 24.63 msPyVista: 32.92 ms, 18x ordito's timePyVista18x · 32.92 msOpen3D: 48.34 ms, 27x ordito's timeOpen3D27x · 48.34 msSciPy: 59.10 ms, 32x ordito's timeSciPy32x · 59.10 mstrimesh: 77.18 ms, 42x ordito's timetrimesh42x · 77.18 msMeshLab: 399.80 ms, 219x ordito's timeMeshLab219x · 399.80 ms
dragon (871 414 faces) · time relative to ordito, log scale · [all points benchmarks](points.md)
Values
Library Median Relative to ordito
ordito (CUDA) 1.82 ms 1x
MeshLib 21.56 ms 12x
manifold3d 24.63 ms 14x
PyVista 32.92 ms 18x
Open3D 48.34 ms 27x
SciPy 59.10 ms 32x
trimesh 77.18 ms 42x
MeshLab 399.80 ms 219x

Orienting point-cloud normals

Consistent normal orientation by minimum-spanning-tree propagation, on the dragon scan's vertices as a bare cloud: the step before Poisson or ball-pivoting reconstruction. Open3D's orient_normals_consistent_tangent_plane runs the same propagation; on lucy it ran past the ten-minute limit.

0.1x1x10x100x1000x10000xordito (CUDA): 2.21 ms, 1x ordito's timeordito (CUDA)1x · 2.21 msOpen3D: 15.214 s, 6880x ordito's timeOpen3D6880x · 15.214 s
dragon (871 414 faces) · time relative to ordito, log scale · [all points benchmarks](points.md)
Values
Library Median Relative to ordito
ordito (CUDA) 2.21 ms 1x
Open3D 15.214 s 6880x

Blue-noise sampling

Poisson-disk sampling of a surface: four different algorithms for the same distribution.

0.1x1x10x100x1000xordito (CUDA): 1.20 ms, 1x ordito's timeordito (CUDA)1x · 1.20 msMeshLib: 12.42 ms, 10x ordito's timeMeshLib10x · 12.42 msOpen3D: 44.05 ms, 37x ordito's timeOpen3D37x · 44.05 mslibigl: 255.55 ms, 213x ordito's timelibigl213x · 255.55 msMeshLab: 449.87 ms, 375x ordito's timeMeshLab375x · 449.87 ms
dragon (871 414 faces) · radius_scale=1.0 · time relative to ordito, log scale · [all sample benchmarks](sample.md)
Values
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

Geodesic distance

Geodesic distance from a source vertex by the heat method, including building the solver.

0.1x1x10x100xordito (CUDA): 6.60 ms, 1x ordito's timeordito (CUDA)1x · 6.60 msPyVista: 24.76 ms, 3.8x ordito's timePyVista3.8x · 24.76 mspotpourri3d: 520.51 ms, 79x ordito's timepotpourri3d79x · 520.51 msMeshLab: 568.74 ms, 86x ordito's timeMeshLab86x · 568.74 mslibigl: 585.77 ms, 89x ordito's timelibigl89x · 585.77 ms
sphere_med (81 920 faces) · setup=full · time relative to ordito, log scale · [all heat benchmarks](heat.md)
Values
Library Median Relative to ordito
ordito (CUDA) 6.60 ms 1x
PyVista 24.76 ms 3.8x
potpourri3d 520.51 ms 79x
MeshLab 568.74 ms 86x
libigl 585.77 ms 89x

Geodesic distance on a point cloud

The heat method on a bare point cloud, geometry-central's point-cloud solver: local triangulations, their tufted cover, and two sparse solves, built and solved in one call.

0.1x1x10x100x1000xordito (CUDA): 30.74 ms, 1x ordito's timeordito (CUDA)1x · 30.74 mspotpourri3d: 9.267 s, 301x ordito's timepotpourri3d301x · 9.267 s
sphere_large (327 680 faces) · setup=full · time relative to ordito, log scale · [all heat benchmarks](heat.md)
Values
Library Median Relative to ordito
ordito (CUDA) 30.74 ms 1x
potpourri3d 9.267 s 301x

Repair: merging duplicate vertices

0.1x1x10x100x1000xordito (CUDA): 233.3 µs, 1x ordito's timeordito (CUDA)1x · 233.3 µsOpen3D: 15.09 ms, 65x ordito's timeOpen3D65x · 15.09 msMeshLib: 24.05 ms, 103x ordito's timeMeshLib103x · 24.05 msPyVista: 24.66 ms, 106x ordito's timePyVista106x · 24.66 mslibigl: 30.24 ms, 130x ordito's timelibigl130x · 30.24 mstrimesh: 47.65 ms, 204x ordito's timetrimesh204x · 47.65 msmanifold3d: 78.92 ms, 338x ordito's timemanifold3d338x · 78.92 msMeshLab: 210.88 ms, 904x ordito's timeMeshLab904x · 210.88 ms
sphere_med (81 920 faces) · epsilon=0.0 · time relative to ordito, log scale · [all repair benchmarks](repair.md)
Values
Library Median Relative to ordito
ordito (CUDA) 233.3 µs 1x
Open3D 15.09 ms 65x
MeshLib 24.05 ms 103x
PyVista 24.66 ms 106x
libigl 30.24 ms 130x
trimesh 47.65 ms 204x
manifold3d 78.92 ms 338x
MeshLab 210.88 ms 904x

Repair: consistent winding

Re-orienting every face to agree with its neighbours, a whole-mesh propagation.

0.1x1x10x100x1000xordito (CUDA): 140.7 µs, 1x ordito's timeordito (CUDA)1x · 140.7 µsMeshLib: 6.03 ms, 43x ordito's timeMeshLib43x · 6.03 msPyVista: 13.81 ms, 98x ordito's timePyVista98x · 13.81 mstrimesh: 18.19 ms, 129x ordito's timetrimesh129x · 18.19 mslibigl: 35.13 ms, 250x ordito's timelibigl250x · 35.13 msMeshLab: 50.13 ms, 356x ordito's timeMeshLab356x · 50.13 msOpen3D: 90.67 ms, 644x ordito's timeOpen3D644x · 90.67 ms
sphere_med (81 920 faces) · time relative to ordito, log scale · [all repair benchmarks](repair.md)
Values
Library Median Relative to ordito
ordito (CUDA) 140.7 µs 1x
MeshLib 6.03 ms 43x
PyVista 13.81 ms 98x
trimesh 18.19 ms 129x
libigl 35.13 ms 250x
MeshLab 50.13 ms 356x
Open3D 90.67 ms 644x

Connected components

0.1x1x10x100x1000x10000xordito (CUDA): 239.2 µs, 1x ordito's timeordito (CUDA)1x · 239.2 µsMeshLib: 21.42 ms, 90x ordito's timeMeshLib90x · 21.42 msPyVista: 269.72 ms, 1128x ordito's timePyVista1128x · 269.72 mslibigl: 405.56 ms, 1696x ordito's timelibigl1696x · 405.56 msOpen3D: 942.26 ms, 3940x ordito's timeOpen3D3940x · 942.26 ms
dragon (871 414 faces) · time relative to ordito, log scale · [all adjacency benchmarks](adjacency.md)
Values
Library Median Relative to ordito
ordito (CUDA) 239.2 µs 1x
MeshLib 21.42 ms 90x
PyVista 269.72 ms 1128x
libigl 405.56 ms 1696x
Open3D 942.26 ms 3940x

Unique edges

The undirected edge list, the first step of most topology code.

0.1x1x10x100x1000xordito (CUDA): 455.7 µs, 1x ordito's timeordito (CUDA)1x · 455.7 µsPyTorch3D (CUDA): 3.57 ms, 7.8x ordito's timePyTorch3D (CUDA)7.8x · 3.57 mstrimesh: 232.28 ms, 510x ordito's timetrimesh510x · 232.28 msPyVista: 250.28 ms, 549x ordito's timePyVista549x · 250.28 mslibigl: 327.63 ms, 719x ordito's timelibigl719x · 327.63 ms
dragon (871 414 faces) · time relative to ordito, log scale · [all edges benchmarks](edges.md)
Values
Library Median Relative to ordito
ordito (CUDA) 455.7 µs 1x
PyTorch3D (CUDA) 3.57 ms 7.8x
trimesh 232.28 ms 510x
PyVista 250.28 ms 549x
libigl 327.63 ms 719x

Taubin smoothing

0.1x1x10x100x1000x10000xordito (CUDA): 575.4 µs, 1x ordito's timeordito (CUDA)1x · 575.4 µstrimesh: 192.15 ms, 334x ordito's timetrimesh334x · 192.15 msOpen3D: 298.67 ms, 519x ordito's timeOpen3D519x · 298.67 msMeshLab: 836.49 ms, 1454x ordito's timeMeshLab1454x · 836.49 ms
dragon (871 414 faces) · time relative to ordito, log scale · [all smoothing benchmarks](smoothing.md)
Values
Library Median Relative to ordito
ordito (CUDA) 575.4 µs 1x
trimesh 192.15 ms 334x
Open3D 298.67 ms 519x
MeshLab 836.49 ms 1454x

Voxelizing a mesh

0.1x1x10x100x1000x10000xordito (CUDA): 419.3 µs, 1x ordito's timeordito (CUDA)1x · 419.3 µsMeshLib: 106.97 ms, 255x ordito's timeMeshLib255x · 106.97 msOpen3D: 156.97 ms, 374x ordito's timeOpen3D374x · 156.97 msPyVista: 264.49 ms, 631x ordito's timePyVista631x · 264.49 mstrimesh: 656.12 ms, 1565x ordito's timetrimesh1565x · 656.12 ms
dragon (871 414 faces) · divisor=64 · time relative to ordito, log scale · [all voxels benchmarks](voxels.md)
Values
Library Median Relative to ordito
ordito (CUDA) 419.3 µs 1x
MeshLib 106.97 ms 255x
Open3D 156.97 ms 374x
PyVista 264.49 ms 631x
trimesh 656.12 ms 1565x

Boundary edges, a loss

Listing the edges on a mesh's boundary is a single pass that serial C++ finishes in less time than a GPU round trip takes. ordito loses this one, as it does most operations whose whole cost is a few tens of microseconds; the module pages show the rest.

0.01x0.1x1x10x100x1000xMeshLib: 47.0 µs, 0.31x ordito's timeMeshLib0.31x · 47.0 µsordito (CUDA): 150.5 µs, 1x ordito's timeordito (CUDA)1x · 150.5 µstrimesh: 18.34 ms, 122x ordito's timetrimesh122x · 18.34 msMeshLab: 41.15 ms, 273x ordito's timeMeshLab273x · 41.15 mslibigl: 41.38 ms, 275x ordito's timelibigl275x · 41.38 msPyVista: 54.34 ms, 361x ordito's timePyVista361x · 54.34 ms
rim_long (131 072 faces) · time relative to ordito, log scale · [all boundary benchmarks](boundary.md)
Values
Library Median Relative to ordito
MeshLib 47.0 µs 0.31x
ordito (CUDA) 150.5 µs 1x
trimesh 18.34 ms 122x
MeshLab 41.15 ms 273x
libigl 41.38 ms 275x
PyVista 54.34 ms 361x

Reproduce

The suite lives in benchmarks/; its README describes the inputs and every comparison in detail. It needs Linux, an NVIDIA GPU and the CUDA toolkit:

git clone https://github.com/lucagrementieri/ordito
cd ordito
uv sync --group bench --no-install-package pytorch3d
uv sync --group bench

mkdir -p results
for f in benchmarks/test_*.py; do
  uv run pytest "$f" --device=cuda --bench-all-libs \
    --benchmark-json="results/$(basename "$f" .py).json" -q
done

uv run python -m benchmarks.tools.render_docs results

The last command redraws every chart on this page and on the module pages from your own run. Absolute times depend on the hardware; the ratios are what carries over.

A ratio holds only for the library, the input and the hardware it was measured on: besides its size, a mesh's number of components, boundary length and triangle shapes move it. A few functions have little parallel work at realistic sizes (a sequential pass over one small boundary loop), and a fast single-threaded C++ implementation beats them; the module pages show those cases beside the others.