[issue37587] JSON loads performance improvement for long strings

Marco Paolini report at bugs.python.org
Sat Jul 13 16:57:24 EDT 2019


Marco Paolini <markopaolini at gmail.com> added the comment:

Here's the real world example

$ ls -hs events-100k.json 
84M events-100k.json

+-----------+-------------------------+-----------------------------+
| Benchmark | vanilla-bpo-events-100k | patched-bpo-events-100k     |
+===========+=========================+=============================+
| timeit    | 985 ms                  | 871 ms: 1.13x faster (-12%) |
+-----------+-------------------------+-----------------------------+

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37587>
_______________________________________


More information about the Python-bugs-list mailing list