3 ms·
https://www.phoronix.com/scan.php?page=article&item=gcc-clang-2019&num=1 https://www.phoronix.com/scan.php?page=article&item=gcc-clan... GCC and LLVM have broa
by mhh__ 7y ago
https://www.phoronix.com/scan.php?page=article&item=gcc-clang-2019&num=1 https://www.phoronix.com/scan.php?page=article&item=gcc-clan...
GCC and LLVM have broadly similar performance characteristics(i.e. for any arch/uBenchmark combo there is another that puts the other one faster).
If GCC is appreciably faster for your purpose, then fair enough but LLVM is not drastically slow by any means (Especially when you consider that any "Anything you can do..." Between LLVM and GCC moves much faster on the LLVM side due to a much saner codebase)
- erk__ 7y agoYou are talking about it like comparing a Ford to a VW they are pretty much the same, but what the poster above talks about is more like comparing formula 1 cars where a single percent of engine power can win or lose you the race. The difference may be small enough for by far the most purposes, but this one is where the small difference can cost a lot.
- GoblinSlayer 7y agoHmm... the thread started with GC, are you sure you want to allocate memory while struggling for the last percent of performance?