Message321227
| Author |
serhiy.storchaka |
| Recipients |
berker.peksag, daniel.urban, grahamd, gvanrossum, ionelmc, pitrou, rhettinger, serhiy.storchaka |
| Date |
2018年07月07日.18:03:59 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1530986639.61.0.56676864532.issue19072@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I think it is impossible to get significant impact on the Python benchmark suite from this patch. But mickrobenchmarks can expose the regression if it exists. Something like:
./python -m perf timeit -s 'class A:' -s ' @classmethod' -s ' def cm(cls): pass' -- 'A.cm()'
./python -m perf timeit -s 'class A:' -s ' @classmethod' -s ' def cm(cls): pass' -s 'f = A.cm' -- 'f()' |
|