4 ms·
run a perf trace on both and see what jumps out
by termie 6y ago
run a perf trace on both and see what jumps out
- MiroF 6y agoIf he's benchmarking on docker, I'm not sure that perf works in docker.
- wyldfire 6y agoYou 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.