[issue45880] Performance regression of Int object operators. (Python 3.11)

Mark Shannon report at bugs.python.org
Tue Nov 23 15:16:29 EST 2021


Mark Shannon <mark at hotpy.org> added the comment:

> I assume there's something wrong with the OP's methodology for profiling.

In a word "cProfile".
All cProfile is doing is measuring the overhead of cProfile.

That the overhead of cProfile has gone up is not surprising. That it has gone up so much, is a bit surprising.

My advice would be use a sampling profiling like Scalene.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45880>
_______________________________________


More information about the Python-bugs-list mailing list