Skip to content

repair

Benchmarks of ordito.repair 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.1x1x10x100x1000xordito (CUDA): the reference, 1xordito (CUDA)1xMeshLib: 16x ordito's time, geometric mean over 12 functions; slower than ordito in 10MeshLib16x (12)PyMeshFix: 79x ordito's time, geometric mean over 1 functions; slower than ordito in 1PyMeshFix79x (1)Open3D: 125x ordito's time, geometric mean over 6 functions; slower than ordito in 6Open3D125x (6)trimesh: 134x ordito's time, geometric mean over 7 functions; slower than ordito in 7trimesh134x (7)PyVista: 164x ordito's time, geometric mean over 5 functions; slower than ordito in 5PyVista164x (5)libigl: 164x ordito's time, geometric mean over 5 functions; slower than ordito in 5libigl164x (5)manifold3d: 301x ordito's time, geometric mean over 1 functions; slower than ordito in 1manifold3d301x (1)MeshLab: 365x ordito's time, geometric mean over 12 functions; slower than ordito in 12MeshLab365x (12)
Time relative to ordito (CUDA), geometric mean over the repair 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 16x 12 10
PyMeshFix 79x 1 1
Open3D 125x 6 6
trimesh 134x 7 7
PyVista 164x 5 5
libigl 164x 5 5
manifold3d 301x 1 1
MeshLab 365x 12 12

resolve_duplicated_faces

0.1x1x10x100x1000xordito (CUDA): 98.1 µs, 1x ordito's timeordito (CUDA)1x · 98.1 µslibigl: 20.10 ms, 205x ordito's timelibigl205x · 20.10 ms
sphere_med (81 920 faces) · fraction=0.0 · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 98.1 µs 1x
libigl 20.10 ms 205x
All inputs
Input ordito (CUDA) libigl
sphere_med fraction=0.0 98.1 µs 20.10 ms
sphere_med fraction=0.1 85.8 µs 22.49 ms

resolve_duplicated_faces_open3d

0.1x1x10x100xordito (CUDA): 94.4 µs, 1x ordito's timeordito (CUDA)1x · 94.4 µsOpen3D: 7.63 ms, 81x ordito's timeOpen3D81x · 7.63 ms
sphere_med (81 920 faces) · fraction=0.0 · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 94.4 µs 1x
Open3D 7.63 ms 81x
All inputs
Input ordito (CUDA) Open3D
sphere_med fraction=0.0 94.4 µs 7.63 ms
sphere_med fraction=0.1 125.5 µs 10.24 ms

resolve_duplicated_faces_meshlab

0.1x1x10x100x1000xordito (CUDA): 99.1 µs, 1x ordito's timeordito (CUDA)1x · 99.1 µsMeshLab: 20.01 ms, 202x ordito's timeMeshLab202x · 20.01 ms
sphere_med (81 920 faces) · fraction=0.0 · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 99.1 µs 1x
MeshLab 20.01 ms 202x
All inputs
Input ordito (CUDA) MeshLab
sphere_med fraction=0.0 99.1 µs 20.01 ms
sphere_med fraction=0.1 139.4 µs 23.31 ms

make_solid

0.1x1x10x100x1000xordito (CUDA): 2.94 ms, 1x ordito's timeordito (CUDA)1x · 2.94 msPyMeshFix: 461.88 ms, 157x ordito's timePyMeshFix157x · 461.88 ms
bunny (69 451 faces) · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 2.94 ms 1x
PyMeshFix 461.88 ms 157x
All inputs
Input ordito (CUDA) PyMeshFix
bunny_decimated 3.45 ms 136.24 ms
bunny 2.94 ms 461.88 ms

remove_small_components

0.1x1x10x100x1000xordito (CUDA): 167.0 µs, 1x ordito's timeordito (CUDA)1x · 167.0 µsMeshLib: 2.49 ms, 15x ordito's timeMeshLib15x · 2.49 msPyVista: 18.60 ms, 111x ordito's timePyVista111x · 18.60 msMeshLab: 38.91 ms, 233x ordito's timeMeshLab233x · 38.91 msOpen3D: 74.92 ms, 448x ordito's timeOpen3D448x · 74.92 ms
sphere_med (81 920 faces) · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 167.0 µs 1x
MeshLib 2.49 ms 15x
PyVista 18.60 ms 111x
MeshLab 38.91 ms 233x
Open3D 74.92 ms 448x
All inputs
Input ordito (CUDA) MeshLab MeshLib Open3D PyVista
sphere_med 167.0 µs 38.91 ms 2.49 ms 74.92 ms 18.60 ms
parts_64 155.6 µs 36.17 ms 2.45 ms 74.48 ms 19.40 ms
parts_1024 152.8 µs 34.64 ms 2.43 ms 72.23 ms 19.75 ms

remove_non_manifold_faces_meshlab

0.1x1x10x100x1000xordito (CUDA): 160.7 µs, 1x ordito's timeordito (CUDA)1x · 160.7 µsOpen3D: 29.78 ms, 185x ordito's timeOpen3D185x · 29.78 msMeshLab: 34.23 ms, 213x ordito's timeMeshLab213x · 34.23 ms
sphere_med (81 920 faces) · extra=0 · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 160.7 µs 1x
Open3D 29.78 ms 185x
MeshLab 34.23 ms 213x
All inputs
Input ordito (CUDA) MeshLab Open3D
sphere_med extra=0 160.7 µs 34.23 ms 29.78 ms
sphere_med extra=1024 412.9 µs 39.90 ms 56.44 ms

split_non_manifold_vertices

0.1x1x10x100x1000xordito (CUDA): 200.3 µs, 1x ordito's timeordito (CUDA)1x · 200.3 µsMeshLib: 1.45 ms, 7.2x ordito's timeMeshLib7.2x · 1.45 msMeshLab: 36.11 ms, 180x ordito's timeMeshLab180x · 36.11 mslibigl: 99.73 ms, 498x ordito's timelibigl498x · 99.73 ms
sphere_med (81 920 faces) · extra=0 · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 200.3 µs 1x
MeshLib 1.45 ms 7.2x
MeshLab 36.11 ms 180x
libigl 99.73 ms 498x
All inputs
Input ordito (CUDA) libigl MeshLab MeshLib
sphere_med extra=0 200.3 µs 99.73 ms 36.11 ms 1.45 ms
sphere_med extra=1024 178.5 µs 135.07 ms 36.63 ms 20.02 ms

remove_unreferenced_vertices

0.1x1x10x100x1000x10000xordito (CUDA): 66.4 µs, 1x ordito's timeordito (CUDA)1x · 66.4 µstrimesh: 2.93 ms, 44x ordito's timetrimesh44x · 2.93 msOpen3D: 7.66 ms, 116x ordito's timeOpen3D116x · 7.66 msMeshLib: 20.00 ms, 301x ordito's timeMeshLib301x · 20.00 mslibigl: 35.97 ms, 542x ordito's timelibigl542x · 35.97 msPyVista: 97.26 ms, 1466x ordito's timePyVista1466x · 97.26 msMeshLab: 372.51 ms, 5614x ordito's timeMeshLab5614x · 372.51 ms
dragon (871 414 faces) · unreferenced=0 · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 66.4 µs 1x
trimesh 2.93 ms 44x
Open3D 7.66 ms 116x
MeshLib 20.00 ms 301x
libigl 35.97 ms 542x
PyVista 97.26 ms 1466x
MeshLab 372.51 ms 5614x
All inputs
Input ordito (CUDA) libigl MeshLab MeshLib Open3D PyVista trimesh
sphere_small unreferenced=0 62.1 µs
sphere_small unreferenced=1 84.8 µs
bunny_decimated unreferenced=0 71.5 µs 162.3 µs 4.77 ms 5.78 ms 140.7 µs 1.77 ms 689.1 µs
bunny_decimated unreferenced=1 89.4 µs 178.0 µs 4.89 ms 5.74 ms 156.0 µs 1.79 ms 888.9 µs
bunny unreferenced=0 79.0 µs 844.4 µs 20.41 ms 2.06 ms 478.9 µs 5.42 ms 3.05 ms
bunny unreferenced=1 82.4 µs 929.8 µs 22.91 ms 2.06 ms 594.9 µs 5.50 ms 4.56 ms
dragon unreferenced=0 66.4 µs 35.97 ms 372.51 ms 20.00 ms 7.66 ms 97.26 ms 2.93 ms
dragon unreferenced=1 68.2 µs 45.79 ms 574.84 ms 20.71 ms 12.31 ms 89.96 ms 60.45 ms
happy_buddha unreferenced=0 84.2 µs 44.83 ms 464.05 ms 25.18 ms 10.42 ms 106.96 ms 3.99 ms
happy_buddha unreferenced=1 87.1 µs 56.66 ms 744.41 ms 25.80 ms 15.88 ms 135.03 ms 74.54 ms
lucy unreferenced=0 2.19 ms 1.978 s 14.203 s 3.415 s 645.49 ms 4.041 s 208.06 ms
lucy unreferenced=1 2.08 ms 2.122 s 21.248 s 3.444 s 977.88 ms 4.418 s 2.309 s

remove_duplicated_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
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
All inputs
Input ordito (CUDA) libigl manifold3d MeshLab MeshLib Open3D PyVista trimesh
sphere_med epsilon=0.0 233.3 µs 30.24 ms 78.92 ms 210.88 ms 24.05 ms 15.09 ms 24.66 ms 47.65 ms
sphere_med epsilon=1e-06 286.1 µs 23.25 ms 76.56 ms 274.21 ms 24.07 ms 15.21 ms 37.10 ms 25.78 ms

reverse_winding

0.1x1x10x100x1000x10000x100000xordito (CUDA): 21.3 µs, 1x ordito's timeordito (CUDA)1x · 21.3 µstrimesh: 37.19 ms, 1746x ordito's timetrimesh1746x · 37.19 msMeshLab: 439.01 ms, 20607x ordito's timeMeshLab20607x · 439.01 ms
dragon (871 414 faces) · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 21.3 µs 1x
trimesh 37.19 ms 1746x
MeshLab 439.01 ms 20607x
All inputs
Input ordito (CUDA) MeshLab trimesh
sphere_small 22.7 µs
bunny_decimated 19.7 µs 4.78 ms 596.9 µs
bunny 13.2 µs 20.12 ms 2.54 ms
dragon 21.3 µs 439.01 ms 37.19 ms
happy_buddha 28.8 µs 564.29 ms 46.78 ms
lucy 465.5 µs 17.328 s 1.428 s

make_winding_consistent

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
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
All inputs
Input ordito (CUDA) libigl MeshLab MeshLib Open3D PyVista trimesh
ribbon_long 399.1 µs 11.85 ms 30.95 ms 1.22 ms 44.35 ms 5.67 ms 8.70 ms
sphere_med 140.7 µs 35.13 ms 50.13 ms 6.03 ms 90.67 ms 13.81 ms 18.19 ms

make_volume

0.1x1x10x100x1000x10000xordito (CUDA): 181.4 µs, 1x ordito's timeordito (CUDA)1x · 181.4 µstrimesh: 239.90 ms, 1322x ordito's timetrimesh1322x · 239.90 msPyVista: 379.31 ms, 2091x ordito's timePyVista2091x · 379.31 ms
dragon (871 414 faces) · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 181.4 µs 1x
trimesh 239.90 ms 1322x
PyVista 379.31 ms 2091x
All inputs
Input ordito (CUDA) PyVista trimesh
sphere_small 122.2 µs
bunny_decimated 129.3 µs 6.73 ms 3.15 ms
bunny 160.3 µs 25.04 ms 14.36 ms
dragon 181.4 µs 379.31 ms 239.90 ms
happy_buddha 217.3 µs 473.16 ms 1.002 s
lucy 6.90 ms 16.506 s 9.579 s

make_normals_outward

0.1x1x10x100x1000x10000xordito (CUDA): 324.2 µs, 1x ordito's timeordito (CUDA)1x · 324.2 µstrimesh: 243.51 ms, 751x ordito's timetrimesh751x · 243.51 msMeshLab: 2.173 s, 6702x ordito's timeMeshLab6702x · 2.173 s
dragon (871 414 faces) · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 324.2 µs 1x
trimesh 243.51 ms 751x
MeshLab 2.173 s 6702x
All inputs
Input ordito (CUDA) MeshLab trimesh
sphere_small 151.0 µs
bunny_decimated 152.4 µs 29.13 ms 3.19 ms
bunny 198.3 µs 129.66 ms 14.23 ms
dragon 324.2 µs 2.173 s 243.51 ms
happy_buddha 473.4 µs 2.633 s 1.012 s
lucy 14.40 ms 100.767 s > 10 min (predicted)

flip_t_vertices

0.1x1x10x100xordito (CUDA): 334.4 µs, 1x ordito's timeordito (CUDA)1x · 334.4 µsMeshLab: 20.16 ms, 60x ordito's timeMeshLab60x · 20.16 ms
saddle (34 848 faces) · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 334.4 µs 1x
MeshLab 20.16 ms 60x
All inputs
Input ordito (CUDA) MeshLab
saddle 334.4 µs 20.16 ms
saddle_graded 413.6 µs 25.90 ms

remove_degenerate_faces

0.01x0.1x1x10x100xMeshLib: 45.2 µs, 0.53x ordito's timeMeshLib0.53x · 45.2 µsordito (CUDA): 85.8 µs, 1x ordito's timeordito (CUDA)1x · 85.8 µstrimesh: 2.00 ms, 23x ordito's timetrimesh23x · 2.00 msMeshLab: 6.06 ms, 71x ordito's timeMeshLab71x · 6.06 ms
saddle (34 848 faces) · time relative to ordito, log scale
Values
Library Median Relative to ordito
MeshLib 45.2 µs 0.53x
ordito (CUDA) 85.8 µs 1x
trimesh 2.00 ms 23x
MeshLab 6.06 ms 71x
All inputs
Input ordito (CUDA) MeshLab MeshLib trimesh
saddle 85.8 µs 6.06 ms 45.2 µs 2.00 ms
saddle_graded 96.3 µs 6.11 ms 80.4 µs 1.96 ms

fix_self_intersections

0.1x1x10xordito (CUDA): 30.43 ms, 1x ordito's timeordito (CUDA)1x · 30.43 msMeshLib: 132.84 ms, 4.4x ordito's timeMeshLib4.4x · 132.84 ms
tangle_torus (163 840 faces) · method=local · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 30.43 ms 1x
MeshLib 132.84 ms 4.4x
All inputs
Input ordito (CUDA) MeshLib
tangle_torus_small method=local 14.15 ms 9.68 ms
tangle_torus_small method=voxel 1.28 ms 43.24 ms
tangle_torus method=local 30.43 ms 132.84 ms
tangle_torus method=voxel 3.29 ms 76.76 ms

collapse_small_triangles

0.1x1x10x100x1000xordito (CUDA): 126.4 µs, 1x ordito's timeordito (CUDA)1x · 126.4 µsMeshLib: 47.77 ms, 378x ordito's timeMeshLib378x · 47.77 ms
saddle (34 848 faces) · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 126.4 µs 1x
MeshLib 47.77 ms 378x
All inputs
Input ordito (CUDA) MeshLib
saddle 126.4 µs 47.77 ms
saddle_graded 343.5 µs 45.15 ms

fix_degeneracies

0.1x1x10x100xordito (CUDA): 76.8 µs, 1x ordito's timeordito (CUDA)1x · 76.8 µsMeshLib: 1.93 ms, 25x ordito's timeMeshLib25x · 1.93 ms
saddle (34 848 faces) · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 76.8 µs 1x
MeshLib 1.93 ms 25x
All inputs
Input ordito (CUDA) MeshLib
saddle 76.8 µs 1.93 ms
saddle_graded 4.96 ms 10.42 ms

remove_degree3_vertices

0.01x0.1x1xMeshLib: 226.5 µs, 0.44x ordito's timeMeshLib0.44x · 226.5 µsordito (CUDA): 514.5 µs, 1x ordito's timeordito (CUDA)1x · 514.5 µs
dragon (871 414 faces) · time relative to ordito, log scale
Values
Library Median Relative to ordito
MeshLib 226.5 µs 0.44x
ordito (CUDA) 514.5 µs 1x
All inputs
Input ordito (CUDA) MeshLib
sphere_small 608.0 µs
bunny_decimated 16.8 µs
bunny 243.0 µs 49.3 µs
dragon 514.5 µs 226.5 µs
happy_buddha 630.5 µs 342.4 µs
lucy 27.76 ms

straighten_boundary

0.1x1x10x100xordito (CUDA): 336.6 µs, 1x ordito's timeordito (CUDA)1x · 336.6 µsMeshLib: 22.94 ms, 68x ordito's timeMeshLib68x · 22.94 ms
dragon (871 414 faces) · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 336.6 µs 1x
MeshLib 22.94 ms 68x
All inputs
Input ordito (CUDA) MeshLib
sphere_small 266.2 µs
bunny_decimated 5.83 ms
bunny 169.5 µs 2.24 ms
dragon 336.6 µs 22.94 ms
happy_buddha 433.5 µs 23.12 ms
lucy 3.730 s

flatten_degree3_vertices

0.1x1x10x100xordito (CUDA): 391.8 µs, 1x ordito's timeordito (CUDA)1x · 391.8 µsMeshLib: 16.55 ms, 42x ordito's timeMeshLib42x · 16.55 ms
dragon (871 414 faces) · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 391.8 µs 1x
MeshLib 16.55 ms 42x
All inputs
Input ordito (CUDA) MeshLib
sphere_small 354.0 µs
bunny_decimated 5.65 ms
bunny 229.5 µs 2.02 ms
dragon 391.8 µs 16.55 ms
happy_buddha 633.2 µs 22.86 ms
lucy 3.263 s

split_vertices_by_corner_values

0.1x1x10x100x1000x10000xordito (CUDA): 313.0 µs, 1x ordito's timeordito (CUDA)1x · 313.0 µsMeshLab: 479.26 ms, 1531x ordito's timeMeshLab1531x · 479.26 ms
dragon (871 414 faces) · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 313.0 µs 1x
MeshLab 479.26 ms 1531x
All inputs
Input ordito (CUDA) MeshLab
sphere_small 141.3 µs
bunny_decimated 152.0 µs 4.44 ms
bunny 147.9 µs 19.33 ms
dragon 313.0 µs 479.26 ms
happy_buddha 340.1 µs 614.17 ms
lucy 9.77 ms 18.545 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)
remove_non_manifold_faces sphere_med extra=1024 187.0 µs
remove_degenerate_and_non_manifold_faces sphere_med extra=1024 263.3 µs
duplicate_vertex_inverse sphere_med epsilon=1e-06 291.7 µs
remove_folded_faces saddle_graded 147.2 µs
remove_tunnels handles_64 5.32 ms
remove_tunnels_root_search handles_64 6.42 ms