Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jdreaver
5 months ago
|
parent
|
context
|
favorite
| on:
Optimizing a Math Expression Parser in Rust
I recently discovered that `perf` itself can spit out flamegraphs. My workflow has been:
$ perf record -g -F 99 ./my-program $ perf script report flamegraph
You can also run `perf script -F +pid > out.perf` and then open `out.perf` in Firefox's built-in profile viewer (which is super neat)
https://profiler.firefox.com
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: