This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author methane
Recipients eitan.adler, methane, pitrou, serhiy.storchaka, vstinner, yselivanov
Date 2018-06-01.06:21:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Oops, this optimization broke trace module.
I reverted a part of the optimization.  Current benchmark is:

$ ./python-patched -m perf timeit --compare-to ./python-master -s "import gc, doctest, ftplib, asyncio, email, http.client, pydoc, pdb, fractions, decimal, difflib, textwrap, statistics, shutil, shelve, lzma, concurrent.futures, telnetlib, smtpd, trace, distutils, pkgutil, tabnanny, pickletools, dis, argparse" "gc.collect()"
python-master: ..................... 1.63 ms +- 0.04 ms
python-patched: ..................... 1.64 ms +- 0.01 ms

Mean +- std dev: [python-master] 1.63 ms +- 0.04 ms -> [python-patched] 1.64 ms +- 0.01 ms: 1.01x slower (+1%)
Date User Action Args
2018-06-01 06:21:44methanesetrecipients: + methane, pitrou, vstinner, serhiy.storchaka, yselivanov, eitan.adler
2018-06-01 06:21:44methanesetmessageid: <>
2018-06-01 06:21:44methanelinkissue33597 messages
2018-06-01 06:21:44methanecreate