Author ammar2
Recipients ammar2, mark.dickinson, rhettinger, serhiy.storchaka
Date 2019-09-20.19:02:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1569006126.26.0.625974044788.issue38237@roundup.psfhosted.org>
In-reply-to
Content
Here's a little microbenchmark, let me know if there's anything specific you'd like to see:

Before
======

> python -m pyperf timeit "from test.test_builtin import BuiltinTest; tst = BuiltinTest()" -- "tst.test_pow()"

Mean +- std dev: 3.80 us +- 0.23 us

> python -m pyperf timeit "pow(23, 19, 3)"

Mean +- std dev: 519 ns +- 12 ns


After
=====

> python -m pyperf timeit "from test.test_builtin import BuiltinTest; tst = BuiltinTest()" -- "tst.test_pow()"

Mean +- std dev: 3.80 us +- 0.26 us

> python -m pyperf timeit "pow(23, 19, 3)"

Mean +- std dev: 526 ns +- 18 ns
History
Date User Action Args
2019-09-20 19:02:06ammar2setrecipients: + ammar2, rhettinger, mark.dickinson, serhiy.storchaka
2019-09-20 19:02:06ammar2setmessageid: <1569006126.26.0.625974044788.issue38237@roundup.psfhosted.org>
2019-09-20 19:02:06ammar2linkissue38237 messages
2019-09-20 19:02:06ammar2create