Skip to content

doc: add lake samply command documentation - #817

Draft
kim-em wants to merge 3 commits into
mainfrom
doc-lake-profile
Draft

doc: add lake samply command documentation#817
kim-em wants to merge 3 commits into
mainfrom
doc-lake-profile

Conversation

@kim-em

@kim-em kim-em commented Mar 30, 2026

Copy link
Copy Markdown
Collaborator

This PR documents the lake samply command, which builds an executable target, records a CPU profile of it with samply, symbolicates the raw addresses and demangles Lean's compiled names before writing a Firefox Profiler file.

The command is added by "feat: add lake samply command", leanprover/lean4#12545, which is not yet merged. lakeHelp compares its contents against the output of the installed lake --help, so this cannot build until that lands; it stays a draft until then.

🤖 Prepared with Claude Code

kim-em and others added 3 commits March 30, 2026 10:01
This PR documents the new `lake profile` command, which builds an
executable target, records a CPU profile with samply, symbolicates and
demangles Lean compiler names, and serves the result for Firefox
Profiler.

Depends on leanprover/lean4#12545 — do not
merge until that PR lands.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@kim-em kim-em changed the title doc: add lake profile command documentation doc: add lake samply command documentation Aug 26, 2026
@kim-em
kim-em marked this pull request as draft August 26, 2026 04:46
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