This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2012年11月02日 18:34 by brett.cannon, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Messages (2) | |||
|---|---|---|---|
| msg174554 - (view) | Author: Brett Cannon (brett.cannon) * (Python committer) | Date: 2012年11月02日 18:34 | |
The Mako developers discovered that under Python 3.3 their library under the mako_v2 benchmark went from 2.95x slower than Python 2.7 to 1.25x slower by simply avoiding an re compilation: http://www.makotemplates.org/trac/changeset/c1468b12f115ac9e469150ce24ea042aeae5e270 Their profiling showed that functools.lru_cache in rc._compiled_typed was a major contributor: http://paste.ofcode.org/yZRKnJfTsHesFR8hMWfc7f |
|||
| msg174555 - (view) | Author: Philip Jenvey (pjenvey) * (Python committer) | Date: 2012年11月02日 18:36 | |
Sorry Brett, beat you to it w/ #16389 =P |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:38 | admin | set | github: 60594 |
| 2012年11月03日 01:30:57 | ncoghlan | set | superseder: re._compiled_typed's lru_cache causes significant degradation of the mako_v2 bench |
| 2012年11月02日 18:36:49 | pjenvey | set | status: open -> closed resolution: duplicate messages: + msg174555 |
| 2012年11月02日 18:34:24 | brett.cannon | create | |