[pypy-dev] Saving and reloading JIT optimizations

David Fraser davidf at sjsoft.com
Fri Aug 19 13:56:43 CEST 2011


Hi

This is a fairly naive question from a newbie...

The pypy JIT takes a while to work out which parts of python code need optimization etc, and only after that phase do the speedups become relevant. Have there been any efforts (indeed, is it a feasible idea at all) that look at saving these optimizations for future runs of the same codebase? The advantages would be for:
 * Small programs that get run frequently - you could pre-tune the JIT but running a longer batch and then save the results and take advantage of them from startup
 * Application restarts not causing a slowdown (my case is a web application server - it would be nice if the first N page views weren't terribly slow as they are now)

Cheers
David

-- 
David Fraser
St James Software


More information about the pypy-dev mailing list