Skip to content

Improve soundscript expand reuse and benchmarks#6

Open
jakemccloskey wants to merge 8 commits intomainfrom
codex/expand-generated-macro-prefilter
Open

Improve soundscript expand reuse and benchmarks#6
jakemccloskey wants to merge 8 commits intomainfrom
codex/expand-generated-macro-prefilter

Conversation

@jakemccloskey
Copy link
Copy Markdown
Contributor

Summary

  • skip empty generated macro expansion rounds when generated output only contains unused macro-looking imports/text
  • add repeatable expand benchmark fixtures and reports
  • prime builtin annotated/final stages from the previous prepared program so unchanged source files are reused
  • compile connected macro module graphs through one prepared program and reuse computed final output text during expand writes

Notes

The real Soundstage benchmark fixture now shows annotated/final rebuilds reusing 89-90 of 91 files; expandMacros remains the next dominant hotspot.

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