Skip to content

Commit 17ed565

Browse files
committed
Add sampling profiler visualisation
Add an interactive JS visualisation to demonstrate how the sampling profiler works. A small demo program is shown executing line by line, demonstrating how stack frames are created and destroyed and how samples are taken periodically during the process. A new Sphinx extension is used to capture and inject the trace into the JS file during documentation build to make these traces reproducible (and avoid hard coding them in the source code).
1 parent 78a50ee commit 17ed565

6 files changed

Lines changed: 2040 additions & 0 deletions

File tree

0 commit comments

Comments
 (0)