3 ms·
> Facts: On average rust is 10% slower on the banchmarkgame That does not show it's 10% slower on average; it shows that C++ is 0.9917938291x as fast as Rust.
by steveklabnik 7y ago
> Facts: On average rust is 10% slower on the banchmarkgame
That does not show it's 10% slower on average; it shows that C++ is 0.9917938291x as fast as Rust. They both have some where they win by 30%, most are closer, Rust is just faster on average.
> But they use llvm instead of gcc for c++,
C++ g++
g++ (Ubuntu 9.2.1-9ubuntu2) 9.2.1 20191008
?
> gcc is in average 20% faster than clang.
Extremely citation needed.
- igouy 7y ago> faster on average What kind-of time measurements? What kind-of average? This chart shows some time measurements: https://benchmarksgame-team.pages.debian.net/benchmarksgame/which-programs-are-fastest.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/... :and the geometric mean is faster for the C++ programs, but the median seems faster for the rust programs. Statistical artifacts?
- steveklabnik 7y ago> What kind-of time measurements? What kind-of average? I interpreted the parent to mean a simple average, so I did exactly that: calculated the percentage for each, and averaged them. In the colloquial term, "mean".
- The_rationalist 7y agoGeometric mean is the implicit default measurement for benchmarking
- igouy 7y agotypo ? "the colloquial term" is "average", the specific term is "mean".