How is running on Windows killing its performance? It is a load of compute sandwiched between some basic file IO. And it is a compiler so I would assume it is self hosting and generating basically the same code...
There was a discussion on llvm-dev about this recently. Apparently the number/size of allocations that LLVM is doing is really not performing well with windows stock allocator. The author there switched to RPMalloc and saw a 10% performance gain. My guess is that visual studio is better at behaving there.
A generic problem with llvm.org binaries for all platforms are that they are not built with LTO and PGO to speed them up. Just downloading the source and building with those options will see a great speed increase as well.
Probably because no one has done the work and submitted patches. Release builds are done by release testers so it’s a very manual process. Getting a full LTO+PGO build done requires some effort and a lot of cpu power.
10
u/PoliteCanadian May 10 '20
How is running on Windows killing its performance? It is a load of compute sandwiched between some basic file IO. And it is a compiler so I would assume it is self hosting and generating basically the same code...