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 lisroach
Recipients acdha, bob.ippolito, ezio.melotti, gdr@garethrees.org, lisroach, pitrou, r.david.murray, rhettinger, serhiy.storchaka
Date 2019-03-06.05:21:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1551849672.66.0.955065571655.issue20774@roundup.psfhosted.org>
In-reply-to
Content
Serhiy might be right, it looks significantly worse with benchmarking:

lisroach$ python3 -m timeit "import json; json.dumps(['test'])"
100000 loops, best of 3: 2.73 usec per loop

lisroach$ ./python.exe -m timeit "import json; json.dumps(['test'])"
10000 loops, best of 5: 21.2 usec per loop

lisroach$ python3 -m timeit "import json; json.dumps(10000)"
100000 loops, best of 3: 2.49 usec per loop

lisroach$ ./python.exe -m timeit "import json; json.dumps(10000)"
20000 loops, best of 5: 16.3 usec per loop
History
Date User Action Args
2019-03-06 05:21:12lisroachsetrecipients: + lisroach, rhettinger, bob.ippolito, pitrou, ezio.melotti, r.david.murray, gdr@garethrees.org, serhiy.storchaka, acdha
2019-03-06 05:21:12lisroachsetmessageid: <1551849672.66.0.955065571655.issue20774@roundup.psfhosted.org>
2019-03-06 05:21:12lisroachlinkissue20774 messages
2019-03-06 05:21:12lisroachcreate