Hacker News new | past | comments | ask | show | jobs | submit login

run a perf trace on both and see what jumps out



You may not even need to go that deep.

Just strace (follow forks) and look what commands get exec'd.

"Why does musl make my Rust code so slow?" But he's measuring mostly the compiler performance in "cargo build". Is he writing the same amount of data to disk in the same experiments? Seems like there's a lot of opportunity for some shallow investigation to find out more.


If he's benchmarking on docker, I'm not sure that perf works in docker.


Then benchmark outside docker?


Depends on the kernel.perf_event_paranoid sysctl.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: