Skip to content

Commit 68b85b0

Browse files
sawenzelclaude
andcommitted
Say what loading a large converted geometry costs
This records where the time goes when a big geom.C is loaded, so the overlap check is not mistaken for the load. - On the 140-part OuterDisc: parse 1.3 s, build 15.7 s, CloseGeometry 0.0 s, Export 11.7 s. - CheckOverlaps takes 513.8 s on the same model and is off by default. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
1 parent 4dc295c commit 68b85b0

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎Detectors/CADSupport/README.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,11 @@ for standalone use:
8989
(cd cad_out/excavator && root -l -b -q -e '.L geom.C' -e 'build_and_export("geom.root", true, true);') # also CheckOverlaps
9090
```
9191

92+
`checkOverlaps` costs far more than the load itself on a large model, so leave it off unless
93+
you are looking for overlaps. Measured on the 140-part OuterDisc, 5.4M triangles: 1.3 s to
94+
parse the macro, 15.7 s to build it (the payloads and their BVHs), 0.0 s to close the
95+
geometry, 11.7 s to export, and 513.8 s for `CheckOverlaps`.
96+
9297
Other conversion options:
9398

9499
| option | meaning |

0 commit comments

Comments
 (0)