[issue28618] Decorate hot functions using __attribute__((hot)) to optimize Python

STINNER Victor report at bugs.python.org
Tue Nov 15 09:28:34 EST 2016


STINNER Victor added the comment:

I wrote hot3.patch when trying to make the following benchmarks more reliable:

- logging_silent: rev 8ebaa546a033 is 20% slower than the average en 2016
- json_loads: rev 0bd618fe0639 is 30% slower and rev 8ebaa546a033 is
15% slower than the average on 2016
- regex_effbot: rev 573bc1f9900e (nov 7) takes 6.0 ms, rev
cf7711887b4a (nov 7) takes 5.2 ms, rev 8ebaa546a033 (nov 10) takes 6.1
ms, etc.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28618>
_______________________________________


More information about the Python-bugs-list mailing list