[pypy-dev] Profiling pypy code

Timothy Baldridge tbaldridge at gmail.com
Wed Mar 28 16:35:23 CEST 2012


I've been trying to find ways to optimize my clojure-on-python
project. And I've been running through my code in jitviewer. However
it seems that jitviewer only displays the number of times a given loop
was run. What should I look into for benchmarking actual times spent
in each loop? It seems that my optimization efforts would be best
spent on areas of code that have a high hit count AND have a long
execution time. Any ideas?

Thanks,

Timothy

-- 
“One of the main causes of the fall of the Roman Empire was
that–lacking zero–they had no way to indicate successful termination
of their C programs.”
(Robert Firth)


More information about the pypy-dev mailing list