[LLVMdev] Why the same code is much slower in JIT compared to separate executable?

Török Edwin edwintorok at gmail.com
Thu Apr 29 01:49:14 PDT 2010


On 04/29/2010 11:44 AM, Yuri wrote:
> 
> I run the same simple Fibonacci computing code in JIT and as a native 
> executable. I see that with argument 45 JIT runs for 11.3sec and 
> executable runs for 7.5sec.
> Why there is such difference?

How long does it take for llc to compile it?
Remember that the JIT includes code generation time.

Best regards,
--Edwin



More information about the llvm-dev mailing list