[issue28243] Performance regression in functools.partial()

STINNER Victor report at bugs.python.org
Thu Sep 22 07:40:22 EDT 2016


STINNER Victor added the comment:

"If revert c1a698edfa1b, the performance is returned to the level of 3.5."

Oh, so using "fastcall" makes partial_call() slower? That's really something bad :-/ It would be nice if you can confirm using all optimizations enabled (PGO+LTO): ./configure --with-optimizations.

For faster compilation and best performances, you might also try to modify PROFILE_TASK in Makefile.pre.in to run your microbenchmark (but you need to run it long enough, so the compiler is able to detect hot code).

----------

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


More information about the Python-bugs-list mailing list