Skip to content

Release v0.23.0: CoreTrace needs the ownership summary speed-up of #187 #227

Closed

Description

@SizzleUnrlsd

CoreTrace pins the stack analyzer at v0.22.0, which takes 30 minutes to analyze CoreTrace's own code in an unoptimized build; main takes 5 (CoreTrace/coretrace#169). No release contains the change yet: v0.22.0 (2026-09-25) is still the latest, and main is 150 commits ahead.

Measured

ctrace --compile-commands <CoreTrace's 22 translation units> --invoke ctrace_stack_analyzer, on Linux x86_64 with LLVM 20.1.2, a fresh cache, and one run at a time:

Stack analyzer No build type (README) Release
v0.22.0 29 min 39 s 3 min 16 s
main 0668fb8 5 min 18 s 1 min 33 s

The gain comes from #187, measured in Release under the same conditions at four commits:

Commit What it adds Time Verdict
c1e60b8 main before #187 7 min 12 s 67 info, 7 warnings
7962221 #187, part 1 (#186: model load, compile directories) 7 min 20 s same
e60a844 one solve per entry state instead of one per parameter 1 min 36 s same
ecf7f07 keep a summary while those it consulted are unchanged (#187 as merged) 1 min 22 s same

Between v0.22.0 and c1e60b8, the analysis got slower (3 min 16 s to 7 min 12 s in Release); #187 more than makes up for it. A release cut before #187 would have been slower than v0.22.0.

With main, CoreTrace's ctest (77 tests) and its F7 harness pass, and its bridge builds unchanged.

To do

  • Release v0.23.0 from main (0668fb8 or later, with CI green).

Then, in CoreTrace (CoreTrace/coretrace#169)

  • Pin GIT_TAG v0.23.0 in cmake/stackUsageAnalyzer.cmake. The branch build/169-update-stack-analyzer already pins 0668fb8.
  • Build with the tag and run ctest.
  • Open the pull request (build(deps): update coretrace-stack-analyzer to v0.23.0, closing docs: cross-TU function facts design and implementation plan #169), and check that CI passes on Linux and macOS: the measurements above are Linux only.

Activity

  1. self-assigned this
    on Oct 15, 2026
  2. SizzleUnrlsd commented on Oct 16, 2026

    @SizzleUnrlsd
    ContributorAuthor

    Released as v0.23.1: v0.23.0 plus the AppleClang 15 fix of #229. CoreTrace pins it since CoreTrace/coretrace#194.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions