arvindm95 / unladen-swallow

Automatically exported from code.google.com/p/unladen-swallow
Other
0 stars 0 forks source link

Measure: JIT compilation time #45

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
We should measure how long execution blocks for when sending a code object
to be compiled/optimized by LLVM. This will be useful for proving that
offloading compilation/optimization to worker threads is valuable.

- These times should be stored in a vector and statistics displayed at
Python-shutdown.
- This should be a special build (ie, controlled by #ifdef's).
- Timing done using TSCs?

Original issue reported on code.google.com by collinw on 30 May 2009 at 1:39

GoogleCodeExporter commented 8 years ago
As a side-effect of working on the function call overhead timings (issue 46), I
managed to get that data.  I compute it and then subtract it from the time it 
took to
call the function, because that drives up the average function call overhead so 
much
I need to take it out.

Original comment by reid.kle...@gmail.com on 4 Jun 2009 at 6:48

GoogleCodeExporter commented 8 years ago

Original comment by collinw on 4 Jun 2009 at 6:50

GoogleCodeExporter commented 8 years ago
Fixed in r611.

Original comment by collinw on 5 Jun 2009 at 7:23