3 ms·
One thing I'm wondering about is whether running the tests on FreeBSD 10.1 would make a difference. The core FBSD 10 system is compiled with clang. Since Ruby
by jrapdx3 12y ago
One thing I'm wondering about is whether running the tests on FreeBSD 10.1 would make a difference.
The core FBSD 10 system is compiled with clang. Since Ruby uses system libraries, the question is if a clang vs. gcc compiled Ruby runtime would produce different results in a clang-compiled environment vs gcc-compiled system.
Hard to know how it would matter, but it does seem conceivable that it might.
- krick 12y agoBenchmarking on the another OS would be much more than benchmarking compilers. Different OS is different OS, it manages memory differently, schedules processes differently. No way it would be a more "clean" benchmark. If you want to use as little code produced by different compiler as possible, you can just link libs you need statically, compiling them by whatever compiler you want (of course it's not impossible that you'll run into obscure compiler-specific errors with that, but whatever, it's doable if you want it that much).