Skip to content

v0.2.1 — perf tracing on import / export / mesh paths

Latest

Choose a tag to compare

@gsdali gsdali released this 02 May 06:10

Adds OT_TRACE_TIMER and wires per-call timing + phase boundaries into all import / export / mesh extraction entry points so a real Templot workload can be profiled end-to-end with OCCT_TEMPLOT_TRACE=1. See PR #4 for details and sample bearing.stl numbers.

Artifacts

Platform File
macOS (arm64, 12+) libsimpleOCCTVP-arm64.dylib
Linux (x86_64) libsimpleOCCTVP-x64.so.0.1.0
Windows (x64) simpleOCCTVP-x64.dll

All three platform builds verified green via CI run 25297684290 after the repo was made public.

What changed since v0.2.0

  • New OT_TRACE_TIMER(label) RAII macro in src/occt_templot_trace.h — reports total wall time on every return path including exception unwind. Effectively free when tracing is off.
  • Wired into all ot_import_* (8 entry points) / ot_export_* (5) / ot_mesh_* + ot_edge_mesh_* (4) functions. Each emits enter / phase / exit traces around the OCCT-heavy work and a final <name>: <ms> ms line.
  • ABI fully backward-compatible. No new exported symbols. Pascal binding unchanged from v0.2.0.