Optimize the _p_accessed code path in pure-python for substantial performance improvements.
Some very minor tweaks to avoid going through the __getattribute__ path so much have large consequences for `zodbshootout`: Results show objects written or read per second. Best of 3. (before/after on pypy2.5.1) "Transaction", before after cpython2.7 "Add 3000 Objects", 534 2340 11711 "Update 3000 Objects", 330 3035 11333 "Read 3000 Warm Objects", 1168 1941 9086 "Read 3000 Cold Objects", 1647 4161 9484 "Read 3000 Hot Objects", 2647 11086 45220 "Read 3000 Steamin' Objects", 30523 108138 5321032
Showing
Please register or sign in to comment