3 ms·
That's really neat, is there any documentation/use-case examples for this outside the source code?
by hackcrafter 10y ago
That's really neat, is there any documentation/use-case examples for this outside the source code?
- wyldfire 10y agoIt was presented at the dev conf but I don't think the slides or video are up yet. :( I've used it with CPython by adding `CFLAGS="-fsave-optimization-record -fdiagnostics-show-hotness"` to the env for `./configure`. Then run opt-viewer like so: ./opt-viewer.py $(find build/ -name '*.yaml') -source-dir src/ output/ If that's not clear I can whip up a quick demonstration project.