Skip to content

I/P: Add proof and range timing views to heap-db-inspect - #276

Merged
hanno-becker merged 1 commit into
mainfrom
heap-timing
Sep 1, 2026
Merged

I/P: Add proof and range timing views to heap-db-inspect#276
hanno-becker merged 1 commit into
mainfrom
heap-timing

Conversation

@hanno-becker

Copy link
Copy Markdown
Collaborator

--timings reported the slowest commands and a per-file total; neither locates the expensive proof inside a large file. Add a "Time per proof" section, --timing-range FILE:START-END, and --annotate-source, all built on the new ip/isar_source.py, which reconstructs command spans and proof depth from the source text without loading the heap.

Files whose local copy no longer matches the stored digest are excluded from proof aggregation; the report now lists each with the time it holds rather than only counting them.

`--timings` reported the slowest commands and a per-file total; neither
locates the expensive proof inside a large file. Add a "Time per proof"
section, `--timing-range FILE:START-END`, and `--annotate-source`, all
built on the new ip/isar_source.py, which reconstructs command spans and
proof depth from the source text without loading the heap.

Files whose local copy no longer matches the stored digest are excluded
from proof aggregation; the report now lists each with the time it holds
rather than only counting them.

Signed-off-by: Hanno Becker <beckphan@amazon.co.uk>
@hanno-becker
hanno-becker merged commit 7eaf6e6 into main Sep 1, 2026
17 checks passed
@hanno-becker
hanno-becker deleted the heap-timing branch September 1, 2026 02:54
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