Y
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
ismaildonmez
658 days ago
Could you clarify how are you testing the speed of the first example where you are not writing anything to stdout? Thanks.
link
qsantos
658 days ago
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 ;)
link
ismaildonmez
657 days ago
Thanks!
link