Hacker News new | ask | show | jobs
by qsantos 658 days ago
I'll write an article on the flamegraphs specifically, but to get the data, just follow Julia's article!

https://jvns.ca/blog/2017/03/19/getting-started-with-ftrace/

1 comments

Could you clarify how are you testing the speed of the first example where you are not writing anything to stdout? Thanks.
For the first Rust program, where I just write to memory, I just use the time utility when running the program from zsh. Then, I divide the number of bytes written by the number of seconds elapsed. That's why it's not an infinite loop ;)
Thanks!