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

STINNER Victor report at bugs.python.org
Tue Nov 22 06:47:12 EST 2016


STINNER Victor added the comment:

2016-11-22 12:07 GMT+01:00 INADA Naoki <report at bugs.python.org>:
> I want to reproduce it and check `perf record -e L1-icache-load-misses`.
> But IaaS (EC2, GCE, Azure VM) doesn't support CPU performance counter.

You don't need to go that far to check performances: just run
call_method and check timings. You need to compare on multiple
revisions.

speed.python.org Timeline helps to track performances, to have an idea
of the "average performance" and detect spikes.

----------

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


More information about the Python-bugs-list mailing list