Skip to content

boolean

Benchmarks of ordito.boolean 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)1xmanifold3d: 2.5x ordito's time, geometric mean over 9 functions; slower than ordito in 9manifold3d2.5x (9)MeshLib: 2.6x ordito's time, geometric mean over 4 functions; slower than ordito in 4MeshLib2.6x (4)trimesh: 5.6x ordito's time, geometric mean over 5 functions; slower than ordito in 5trimesh5.6x (5)MeshLab: 141x ordito's time, geometric mean over 3 functions; slower than ordito in 3MeshLab141x (3)
Time relative to ordito (CUDA), geometric mean over the boolean 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
manifold3d 2.5x 9 9
MeshLib 2.6x 4 4
trimesh 5.6x 5 5
MeshLab 141x 3 3

boolean_union

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
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
All inputs
Input ordito (CUDA) manifold3d MeshLab MeshLib trimesh
sphere_small 3.44 ms 5.01 ms 168.98 ms 8.67 ms 13.79 ms
sphere_med 4.03 ms 11.34 ms 627.72 ms 11.67 ms 50.61 ms
sphere_large 7.88 ms 31.20 ms 2.529 s 33.32 ms 139.86 ms

boolean_intersection

0.1x1x10x100x1000xordito (CUDA): 6.07 ms, 1x ordito's timeordito (CUDA)1x · 6.07 msmanifold3d: 19.03 ms, 3.1x ordito's timemanifold3d3.1x · 19.03 msMeshLib: 29.55 ms, 4.9x ordito's timeMeshLib4.9x · 29.55 mstrimesh: 111.52 ms, 18x ordito's timetrimesh18x · 111.52 msMeshLab: 2.408 s, 397x ordito's timeMeshLab397x · 2.408 s
sphere_large (327 680 faces) · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 6.07 ms 1x
manifold3d 19.03 ms 3.1x
MeshLib 29.55 ms 4.9x
trimesh 111.52 ms 18x
MeshLab 2.408 s 397x
All inputs
Input ordito (CUDA) manifold3d MeshLab MeshLib trimesh
sphere_small 3.42 ms 3.33 ms 166.43 ms 3.00 ms 11.89 ms
sphere_med 3.96 ms 10.88 ms 609.89 ms 8.25 ms 46.60 ms
sphere_large 6.07 ms 19.03 ms 2.408 s 29.55 ms 111.52 ms

boolean_difference

0.1x1x10x100x1000xordito (CUDA): 6.64 ms, 1x ordito's timeordito (CUDA)1x · 6.64 msmanifold3d: 24.49 ms, 3.7x ordito's timemanifold3d3.7x · 24.49 msMeshLib: 28.50 ms, 4.3x ordito's timeMeshLib4.3x · 28.50 mstrimesh: 121.98 ms, 18x ordito's timetrimesh18x · 121.98 msMeshLab: 2.467 s, 372x ordito's timeMeshLab372x · 2.467 s
sphere_large (327 680 faces) · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 6.64 ms 1x
manifold3d 24.49 ms 3.7x
MeshLib 28.50 ms 4.3x
trimesh 121.98 ms 18x
MeshLab 2.467 s 372x
All inputs
Input ordito (CUDA) manifold3d MeshLab MeshLib trimesh
sphere_small 3.38 ms 4.14 ms 169.76 ms 2.93 ms 12.84 ms
sphere_med 3.96 ms 13.61 ms 623.07 ms 7.96 ms 50.46 ms
sphere_large 6.64 ms 24.49 ms 2.467 s 28.50 ms 121.98 ms

split_by_mesh

0.1x1x10xordito (CUDA): 8.16 ms, 1x ordito's timeordito (CUDA)1x · 8.16 msmanifold3d: 39.71 ms, 4.9x ordito's timemanifold3d4.9x · 39.71 ms
sphere_large (327 680 faces) · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 8.16 ms 1x
manifold3d 39.71 ms 4.9x
All inputs
Input ordito (CUDA) manifold3d
sphere_small 4.81 ms 7.00 ms
sphere_med 5.74 ms 22.40 ms
sphere_large 8.16 ms 39.71 ms

split_by_plane

0.1x1x10x100xordito (CUDA): 21.78 ms, 1x ordito's timeordito (CUDA)1x · 21.78 msmanifold3d: 81.19 ms, 3.7x ordito's timemanifold3d3.7x · 81.19 mstrimesh: 254.81 ms, 12x ordito's timetrimesh12x · 254.81 ms
sphere_large (327 680 faces) · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 21.78 ms 1x
manifold3d 81.19 ms 3.7x
trimesh 254.81 ms 12x
All inputs
Input ordito (CUDA) manifold3d trimesh
sphere_small 7.06 ms 5.90 ms 4.25 ms
sphere_med 12.21 ms 29.54 ms 41.85 ms
sphere_large 21.78 ms 81.19 ms 254.81 ms

trim_by_plane

0.1x1x10xordito (CUDA): 12.98 ms, 1x ordito's timeordito (CUDA)1x · 12.98 msmanifold3d: 61.82 ms, 4.8x ordito's timemanifold3d4.8x · 61.82 mstrimesh: 121.11 ms, 9.3x ordito's timetrimesh9.3x · 121.11 ms
sphere_large (327 680 faces) · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 12.98 ms 1x
manifold3d 61.82 ms 4.8x
trimesh 121.11 ms 9.3x
All inputs
Input ordito (CUDA) manifold3d trimesh
sphere_small 4.42 ms 3.58 ms 2.18 ms
sphere_med 7.47 ms 20.16 ms 20.04 ms
sphere_large 12.98 ms 61.82 ms 121.11 ms

union_all

0.1x1x10xordito (CUDA): 17.24 ms, 1x ordito's timeordito (CUDA)1x · 17.24 msmanifold3d: 133.44 ms, 7.7x ordito's timemanifold3d7.7x · 133.44 msMeshLib: 137.38 ms, 8x ordito's timeMeshLib8x · 137.38 ms
sphere_large (327 680 faces) · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 17.24 ms 1x
manifold3d 133.44 ms 7.7x
MeshLib 137.38 ms 8x
All inputs
Input ordito (CUDA) manifold3d MeshLib
sphere_small 9.18 ms 10.22 ms 10.43 ms
sphere_med 11.00 ms 37.65 ms 46.01 ms
sphere_large 17.24 ms 133.44 ms 137.38 ms

intersection_all

0.1x1x10xordito (CUDA): 14.64 ms, 1x ordito's timeordito (CUDA)1x · 14.64 msmanifold3d: 57.12 ms, 3.9x ordito's timemanifold3d3.9x · 57.12 ms
sphere_large (327 680 faces) · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 14.64 ms 1x
manifold3d 57.12 ms 3.9x
All inputs
Input ordito (CUDA) manifold3d
sphere_small 8.91 ms 6.20 ms
sphere_med 10.34 ms 24.55 ms
sphere_large 14.64 ms 57.12 ms

difference_all

0.1x1x10xordito (CUDA): 17.08 ms, 1x ordito's timeordito (CUDA)1x · 17.08 msmanifold3d: 129.18 ms, 7.6x ordito's timemanifold3d7.6x · 129.18 ms
sphere_large (327 680 faces) · time relative to ordito, log scale
Values
Library Median Relative to ordito
ordito (CUDA) 17.08 ms 1x
manifold3d 129.18 ms 7.6x
All inputs
Input ordito (CUDA) manifold3d
sphere_small 9.14 ms 13.05 ms
sphere_med 11.25 ms 39.90 ms
sphere_large 17.08 ms 129.18 ms