Skip to content

Measure representative publication projection costs - #173

Closed
10-X-eng wants to merge 1 commit into
performance/native-hotpath-instrumentationfrom
performance/representative-publication-baseline
Closed

Measure representative publication projection costs#173
10-X-eng wants to merge 1 commit into
performance/native-hotpath-instrumentationfrom
performance/representative-publication-baseline

Conversation

@10-X-eng

@10-X-eng 10-X-eng commented Sep 5, 2026

Copy link
Copy Markdown
Owner

Outcome

Records a reproducible 307-member VibeScript Assembly publication baseline and adds opt-in Tracy spans that isolate Tree and Feature Timeline item/icon costs. The trace proves the final 1.864-second heartbeat gap is the sequential Tree and Timeline refresh, not semantic projection or tessellation.

Risk

Low. This PR adds trace-only native scopes, a source contract test, and performance evidence. Tracy remains compile-time/opt-in as established by the parent PR; no public API, schema, preference, or default behavior changes.

Red/green and verification

  • RED: C:\Users\robit\vibecad.pixi\envs\default\python.exe -m pytest src/Mod/VibeCAD/vibecad_tests/test_performance.py::test_native_projection_trace_separates_measured_hot_paths -q — failed with the three newly required Tree spans absent.
  • GREEN: same focused command — 1 passed.
  • C:\Users\robit\vibecad.pixi\envs\default\python.exe -m pytest src/Mod/VibeCAD/vibecad_tests/test_performance.py -q — 12 passed.
  • Rattler CMake/MSVC incremental install target — passed and installed FreeCADGui.dll.
  • �uild/run_vibescript_publication_307_native_trace.ps1 — correct 307-member publication; 322 document objects; native trace exported successfully.

Compatibility checklist

  • Existing public functions/APIs remain present and compatible.
  • No preference keys, tool names, or schema fields changed.
  • Defaults preserve previous behavior.
  • No deprecations.
  • No breaking changes.

@10-X-eng

10-X-eng commented Sep 6, 2026

Copy link
Copy Markdown
Owner Author

Closed at the repository owner request; this performance implementation is being discarded.

@10-X-eng 10-X-eng closed this Sep 6, 2026
@10-X-eng
10-X-eng deleted the performance/representative-publication-baseline branch September 6, 2026 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant