Here are some micro benchmarks that demonstrate big gains of OpenSCAD rendering with --enable=fast-csg
(a feature I developed in this pull request).
Note: some (but not all) models making heavy use of minkowski may be slower with the feature enabled, as CGALUtils::applyMinkowski is forcing conversions to the old nef format. I hope to address that + publish benchmarks involving minkowski operations soon!*
Note2: these figures need updating, lots of changes since last time I tested these files! Most notably, I'm now proactively falling back to Nef computations in many cases that could have been handled by fast PMP operations on surface meshes, just by fear of hitting corner cases that might corrupt the data. Makes things slower :-(
- uncacheable-grid.scad (see below): 35sec -> 1.5sec (31x faster)
- chainmail.scad (see below): 24min 15sec -> 4min 27sec (5x faster)
- spheres_nested_for_loops.scad (see below): 44sec