3 ms·
Lovely! This sample shows the startup cost of LLVM. It is not ideal for short-running tasks, as just JITing this code with LLVM increases the overhead for th
by migueldeicaza 14y ago
Lovely!
This sample shows the startup cost of LLVM. It is not ideal for short-running tasks, as just JITing this code with LLVM increases the overhead for this test by 0.42 seconds on my machine (iMac, 2010).
Might be worth running this for a longer period of time, they will basically converge.
LLVM is great for HPC, when this startup cost is not a problem.
- igouy 14y agoSadly not lovely, because when I installed Mono 2.11.4 a couple of weeks ago, I forgot about "Compiling with stock LLVM is not supported, please use the Mono LLVM repo..."; and I guess when --llvm is used without LLVM being enabled, Mono does not give a warning message. The Mono 3.0.0 measurements are made with LLVM enabled.