Differences between revisions 1 and 2
Revision 1 as of 2008-11-15 02:34:16
Size: 642
Editor: PhilipJenvey
Comment:
Revision 2 as of 2008-11-15 03:00:40
Size: 646
Editor: PhilipJenvey
Comment:
Deletions are marked like this. Additions are marked like this.
Line 14: Line 14:
Our algorithms are not always the problem, sometimes it's memory allocations that slow you down Our algorithms are not always the problem, sometimes it's memory {de}allocations that slow you down

Performance Enhancements Resources

Jython benchmarks (from PyPy's suite): http://freya.cs.uiuc.edu/~njriley/benchmark.html

Benchmark plots (currently broken): http://freya.cs.uiuc.edu/~njriley/plots.html

Ideas

GC Expense

Our algorithms are not always the problem, sometimes it's memory {de}allocations that slow you down

Frame creation

Frames are allocated for every Python method call, which is a GC expense. CPython (and JRuby?) recycle frame objects. Reducing the number of fields on the frame can also help (but this likely isn't possible)

PerformanceEnhancements (last edited 2009-01-26 05:40:07 by c-98-212-140-18)