jonhoo / volley

Volley is a benchmarking tool for measuring the performance of server networking stacks.
MIT License
123 stars 12 forks source link

Rust and C optimization level don't match. #26

Closed yzhang71 closed 2 years ago

yzhang71 commented 2 years ago

From the Makefile, I saw C server is compiled with optimization level -O3, but Rust is compiled with -O, which is equivalent to -O2.

jonhoo commented 2 years ago

Oh, that's a good point! In practice though I doubt it makes much of a difference for these benchmarks since they're much more focused on the I/O stack where -O3 vs -O2 should mostly just be lost in the noise.