4 ms·
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-f
by qsantos 2y 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/ https://jvns.ca/blog/2017/03/19/getting-started-with-ftrace/
- ismaildonmez 2y agoCould you clarify how are you testing the speed of the first example where you are not writing anything to stdout? Thanks.
- qsantos 2y agoFor 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 ;)
- ismaildonmez 2y agoThanks!