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 mpaolini
Recipients christian.heimes, ezio.melotti, methane, miss-islington, mpaolini, ncoghlan, pablogsal, rhettinger, serhiy.storchaka, steve.dower
Date 2019-08-15.20:46:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1565901965.1.0.442510159332.issue37587@roundup.psfhosted.org>
In-reply-to
Content
ops sorry here's the right commands

python -m pyperf timeit -s 'import json;' -s  'c = "a"; s = json.dumps(c * (2**10 // (len(json.dumps(c)) - 2)))' 'json.loads(s)' -o ascii2k.json
python -m pyperf timeit -s 'import json;' -s  'c = "€"; s = json.dumps(c * (2**10 // (len(json.dumps(c)) - 2)))' 'json.loads(s)' -o nonascii2k.json

Mean +- std dev: [ascii2k] 3.69 us +- 0.05 us -> [nonascii2k] 12.4 us +- 0.1 us: 3.35x slower (+235%)
History
Date User Action Args
2019-08-15 20:46:05mpaolinisetrecipients: + mpaolini, rhettinger, ncoghlan, christian.heimes, ezio.melotti, methane, serhiy.storchaka, steve.dower, pablogsal, miss-islington
2019-08-15 20:46:05mpaolinisetmessageid: <1565901965.1.0.442510159332.issue37587@roundup.psfhosted.org>
2019-08-15 20:46:05mpaolinilinkissue37587 messages
2019-08-15 20:46:05mpaolinicreate