python-rapidjson 1.16__tar.gz → 1.17__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (95) hide show
  1. {python-rapidjson-1.16 → python-rapidjson-1.17}/CHANGES.rst +13 -1
  2. {python-rapidjson-1.16 → python-rapidjson-1.17}/PKG-INFO +14 -2
  3. {python-rapidjson-1.16 → python-rapidjson-1.17}/benchmarks/tablize.py +5 -5
  4. {python-rapidjson-1.16 → python-rapidjson-1.17}/docs/benchmarks-tables.rst +44 -44
  5. python-rapidjson-1.17/docs/changes.rst +627 -0
  6. {python-rapidjson-1.16 → python-rapidjson-1.17}/docs/conf.py +3 -3
  7. {python-rapidjson-1.16 → python-rapidjson-1.17}/docs/index.rst +2 -1
  8. {python-rapidjson-1.16 → python-rapidjson-1.17}/python_rapidjson.egg-info/PKG-INFO +14 -2
  9. {python-rapidjson-1.16 → python-rapidjson-1.17}/python_rapidjson.egg-info/SOURCES.txt +1 -0
  10. {python-rapidjson-1.16 → python-rapidjson-1.17}/rapidjson/include/rapidjson/allocators.h +2 -2
  11. {python-rapidjson-1.16 → python-rapidjson-1.17}/rapidjson/include/rapidjson/document.h +2 -2
  12. {python-rapidjson-1.16 → python-rapidjson-1.17}/rapidjson/include/rapidjson/internal/regex.h +1 -1
  13. {python-rapidjson-1.16 → python-rapidjson-1.17}/rapidjson/include/rapidjson/rapidjson.h +1 -1
  14. {python-rapidjson-1.16 → python-rapidjson-1.17}/rapidjson/include/rapidjson/schema.h +12 -10
  15. {python-rapidjson-1.16 → python-rapidjson-1.17}/rapidjson/include/rapidjson/writer.h +1 -1
  16. python-rapidjson-1.17/rapidjson_exact_version.txt +1 -0
  17. {python-rapidjson-1.16 → python-rapidjson-1.17}/requirements.txt +7 -7
  18. python-rapidjson-1.17/version.txt +1 -0
  19. python-rapidjson-1.16/rapidjson_exact_version.txt +0 -1
  20. python-rapidjson-1.16/version.txt +0 -1
  21. {python-rapidjson-1.16 → python-rapidjson-1.17}/.dir-locals.el +0 -0
  22. {python-rapidjson-1.16 → python-rapidjson-1.17}/LICENSE +0 -0
  23. {python-rapidjson-1.16 → python-rapidjson-1.17}/MANIFEST.in +0 -0
  24. {python-rapidjson-1.16 → python-rapidjson-1.17}/README.rst +0 -0
  25. {python-rapidjson-1.16 → python-rapidjson-1.17}/benchmarks/conftest.py +0 -0
  26. {python-rapidjson-1.16 → python-rapidjson-1.17}/benchmarks/test_benchmark.py +0 -0
  27. {python-rapidjson-1.16 → python-rapidjson-1.17}/docs/Makefile +0 -0
  28. {python-rapidjson-1.16 → python-rapidjson-1.17}/docs/api.rst +0 -0
  29. {python-rapidjson-1.16 → python-rapidjson-1.17}/docs/benchmarks.rst +0 -0
  30. {python-rapidjson-1.16 → python-rapidjson-1.17}/docs/decoder.rst +0 -0
  31. {python-rapidjson-1.16 → python-rapidjson-1.17}/docs/dump.rst +0 -0
  32. {python-rapidjson-1.16 → python-rapidjson-1.17}/docs/dumps.rst +0 -0
  33. {python-rapidjson-1.16 → python-rapidjson-1.17}/docs/encoder.rst +0 -0
  34. {python-rapidjson-1.16 → python-rapidjson-1.17}/docs/load.rst +0 -0
  35. {python-rapidjson-1.16 → python-rapidjson-1.17}/docs/loads.rst +0 -0
  36. {python-rapidjson-1.16 → python-rapidjson-1.17}/docs/quickstart.rst +0 -0
  37. {python-rapidjson-1.16 → python-rapidjson-1.17}/docs/rawjson.rst +0 -0
  38. {python-rapidjson-1.16 → python-rapidjson-1.17}/docs/validator.rst +0 -0
  39. {python-rapidjson-1.16 → python-rapidjson-1.17}/python_rapidjson.egg-info/dependency_links.txt +0 -0
  40. {python-rapidjson-1.16 → python-rapidjson-1.17}/python_rapidjson.egg-info/top_level.txt +0 -0
  41. {python-rapidjson-1.16 → python-rapidjson-1.17}/rapidjson/include/rapidjson/cursorstreamwrapper.h +0 -0
  42. {python-rapidjson-1.16 → python-rapidjson-1.17}/rapidjson/include/rapidjson/encodedstream.h +0 -0
  43. {python-rapidjson-1.16 → python-rapidjson-1.17}/rapidjson/include/rapidjson/encodings.h +0 -0
  44. {python-rapidjson-1.16 → python-rapidjson-1.17}/rapidjson/include/rapidjson/error/en.h +0 -0
  45. {python-rapidjson-1.16 → python-rapidjson-1.17}/rapidjson/include/rapidjson/error/error.h +0 -0
  46. {python-rapidjson-1.16 → python-rapidjson-1.17}/rapidjson/include/rapidjson/filereadstream.h +0 -0
  47. {python-rapidjson-1.16 → python-rapidjson-1.17}/rapidjson/include/rapidjson/filewritestream.h +0 -0
  48. {python-rapidjson-1.16 → python-rapidjson-1.17}/rapidjson/include/rapidjson/fwd.h +0 -0
  49. {python-rapidjson-1.16 → python-rapidjson-1.17}/rapidjson/include/rapidjson/internal/biginteger.h +0 -0
  50. {python-rapidjson-1.16 → python-rapidjson-1.17}/rapidjson/include/rapidjson/internal/clzll.h +0 -0
  51. {python-rapidjson-1.16 → python-rapidjson-1.17}/rapidjson/include/rapidjson/internal/diyfp.h +0 -0
  52. {python-rapidjson-1.16 → python-rapidjson-1.17}/rapidjson/include/rapidjson/internal/dtoa.h +0 -0
  53. {python-rapidjson-1.16 → python-rapidjson-1.17}/rapidjson/include/rapidjson/internal/ieee754.h +0 -0
  54. {python-rapidjson-1.16 → python-rapidjson-1.17}/rapidjson/include/rapidjson/internal/itoa.h +0 -0
  55. {python-rapidjson-1.16 → python-rapidjson-1.17}/rapidjson/include/rapidjson/internal/meta.h +0 -0
  56. {python-rapidjson-1.16 → python-rapidjson-1.17}/rapidjson/include/rapidjson/internal/pow10.h +0 -0
  57. {python-rapidjson-1.16 → python-rapidjson-1.17}/rapidjson/include/rapidjson/internal/stack.h +0 -0
  58. {python-rapidjson-1.16 → python-rapidjson-1.17}/rapidjson/include/rapidjson/internal/strfunc.h +0 -0
  59. {python-rapidjson-1.16 → python-rapidjson-1.17}/rapidjson/include/rapidjson/internal/strtod.h +0 -0
  60. {python-rapidjson-1.16 → python-rapidjson-1.17}/rapidjson/include/rapidjson/internal/swap.h +0 -0
  61. {python-rapidjson-1.16 → python-rapidjson-1.17}/rapidjson/include/rapidjson/istreamwrapper.h +0 -0
  62. {python-rapidjson-1.16 → python-rapidjson-1.17}/rapidjson/include/rapidjson/memorybuffer.h +0 -0
  63. {python-rapidjson-1.16 → python-rapidjson-1.17}/rapidjson/include/rapidjson/memorystream.h +0 -0
  64. {python-rapidjson-1.16 → python-rapidjson-1.17}/rapidjson/include/rapidjson/msinttypes/inttypes.h +0 -0
  65. {python-rapidjson-1.16 → python-rapidjson-1.17}/rapidjson/include/rapidjson/msinttypes/stdint.h +0 -0
  66. {python-rapidjson-1.16 → python-rapidjson-1.17}/rapidjson/include/rapidjson/ostreamwrapper.h +0 -0
  67. {python-rapidjson-1.16 → python-rapidjson-1.17}/rapidjson/include/rapidjson/pointer.h +0 -0
  68. {python-rapidjson-1.16 → python-rapidjson-1.17}/rapidjson/include/rapidjson/prettywriter.h +0 -0
  69. {python-rapidjson-1.16 → python-rapidjson-1.17}/rapidjson/include/rapidjson/reader.h +0 -0
  70. {python-rapidjson-1.16 → python-rapidjson-1.17}/rapidjson/include/rapidjson/stream.h +0 -0
  71. {python-rapidjson-1.16 → python-rapidjson-1.17}/rapidjson/include/rapidjson/stringbuffer.h +0 -0
  72. {python-rapidjson-1.16 → python-rapidjson-1.17}/rapidjson/include/rapidjson/uri.h +0 -0
  73. {python-rapidjson-1.16 → python-rapidjson-1.17}/rapidjson/license.txt +0 -0
  74. {python-rapidjson-1.16 → python-rapidjson-1.17}/rapidjson/readme.md +0 -0
  75. {python-rapidjson-1.16 → python-rapidjson-1.17}/rapidjson.cpp +0 -0
  76. {python-rapidjson-1.16 → python-rapidjson-1.17}/requirements-test.txt +0 -0
  77. {python-rapidjson-1.16 → python-rapidjson-1.17}/setup.cfg +0 -0
  78. {python-rapidjson-1.16 → python-rapidjson-1.17}/setup.py +0 -0
  79. {python-rapidjson-1.16 → python-rapidjson-1.17}/tests/conftest.py +0 -0
  80. {python-rapidjson-1.16 → python-rapidjson-1.17}/tests/test_base_types.py +0 -0
  81. {python-rapidjson-1.16 → python-rapidjson-1.17}/tests/test_circular.py +0 -0
  82. {python-rapidjson-1.16 → python-rapidjson-1.17}/tests/test_dict_subclass.py +0 -0
  83. {python-rapidjson-1.16 → python-rapidjson-1.17}/tests/test_enum.py +0 -0
  84. {python-rapidjson-1.16 → python-rapidjson-1.17}/tests/test_float.py +0 -0
  85. {python-rapidjson-1.16 → python-rapidjson-1.17}/tests/test_memory_leaks.py +0 -0
  86. {python-rapidjson-1.16 → python-rapidjson-1.17}/tests/test_params.py +0 -0
  87. {python-rapidjson-1.16 → python-rapidjson-1.17}/tests/test_pass1.py +0 -0
  88. {python-rapidjson-1.16 → python-rapidjson-1.17}/tests/test_pass2.py +0 -0
  89. {python-rapidjson-1.16 → python-rapidjson-1.17}/tests/test_pass3.py +0 -0
  90. {python-rapidjson-1.16 → python-rapidjson-1.17}/tests/test_rawjson.py +0 -0
  91. {python-rapidjson-1.16 → python-rapidjson-1.17}/tests/test_refs_count.py +0 -0
  92. {python-rapidjson-1.16 → python-rapidjson-1.17}/tests/test_streams.py +0 -0
  93. {python-rapidjson-1.16 → python-rapidjson-1.17}/tests/test_unicode.py +0 -0
  94. {python-rapidjson-1.16 → python-rapidjson-1.17}/tests/test_validator.py +0 -0
  95. {python-rapidjson-1.16 → python-rapidjson-1.17}/tox.ini +0 -0
@@ -1,6 +1,18 @@
1
1
  Changes
2
2
  -------
3
3
 
4
+ 1.17 (2024-05-18)
5
+ ~~~~~~~~~~~~~~~~~
6
+
7
+ * Use `current master`__ version of rapidjson
8
+
9
+ __ https://github.com/Tencent/rapidjson/compare/5e17dbed34eef33af8f3e734820b5dc547a2a3aa...ab1842a2dae061284c0a62dca1cc6d5e7e37e346
10
+
11
+ * Generate wheels on PyPI using Python 3.13b1 release, thanks to cibuildwheel `2.18.0`__
12
+
13
+ __ https://cibuildwheel.pypa.io/en/stable/changelog/#v2180
14
+
15
+
4
16
  1.16 (2024-02-28)
5
17
  ~~~~~~~~~~~~~~~~~
6
18
 
@@ -47,7 +59,7 @@ Changes
47
59
 
48
60
  * Use `current master`__ version of rapidjson
49
61
 
50
- __ https://github.com/Tencent/rapidjson/compare/083f359f5c36198accc2b9360ce1e32a333231d9...5e17dbed34eef33af8f3e734820b5dc547a2a3aa9
62
+ __ https://github.com/Tencent/rapidjson/compare/083f359f5c36198accc2b9360ce1e32a333231d9...5e17dbed34eef33af8f3e734820b5dc547a2a3aa
51
63
 
52
64
  * Use cibuildwheel `2.15.0`__
53
65
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python-rapidjson
3
- Version: 1.16
3
+ Version: 1.17
4
4
  Summary: Python wrapper around rapidjson
5
5
  Home-page: https://github.com/python-rapidjson/python-rapidjson
6
6
  Author: Ken Robbins
@@ -155,6 +155,18 @@ __ https://python-rapidjson.readthedocs.io/en/latest/quickstart.html#incompatibi
155
155
  Changes
156
156
  -------
157
157
 
158
+ 1.17 (2024-05-18)
159
+ ~~~~~~~~~~~~~~~~~
160
+
161
+ * Use `current master`__ version of rapidjson
162
+
163
+ __ https://github.com/Tencent/rapidjson/compare/5e17dbed34eef33af8f3e734820b5dc547a2a3aa...ab1842a2dae061284c0a62dca1cc6d5e7e37e346
164
+
165
+ * Generate wheels on PyPI using Python 3.13b1 release, thanks to cibuildwheel `2.18.0`__
166
+
167
+ __ https://cibuildwheel.pypa.io/en/stable/changelog/#v2180
168
+
169
+
158
170
  1.16 (2024-02-28)
159
171
  ~~~~~~~~~~~~~~~~~
160
172
 
@@ -201,7 +213,7 @@ Changes
201
213
 
202
214
  * Use `current master`__ version of rapidjson
203
215
 
204
- __ https://github.com/Tencent/rapidjson/compare/083f359f5c36198accc2b9360ce1e32a333231d9...5e17dbed34eef33af8f3e734820b5dc547a2a3aa9
216
+ __ https://github.com/Tencent/rapidjson/compare/083f359f5c36198accc2b9360ce1e32a333231d9...5e17dbed34eef33af8f3e734820b5dc547a2a3aa
205
217
 
206
218
  * Use cibuildwheel `2.15.0`__
207
219
 
@@ -2,7 +2,7 @@
2
2
  # :Project: python-rapidjson -- reST tables writer tool
3
3
  # :Author: Lele Gaifax <lele@metapensiero.it>
4
4
  # :License: MIT License
5
- # :Copyright: © 2017, 2018, 2020, 2021, 2022 Lele Gaifax
5
+ # :Copyright: © 2017, 2018, 2020, 2021, 2022, 2024 Lele Gaifax
6
6
  #
7
7
 
8
8
  # Assume we did::
@@ -126,10 +126,10 @@ def dumps_and_loads(benchmarks):
126
126
  '.. [2] ``rapidjson.Encoder()``',
127
127
  '.. [3] ``rapidjson.dumps(number_mode=NM_NATIVE)``',
128
128
  '.. [4] ``rapidjson.Encoder(number_mode=NM_NATIVE)``',
129
- '.. [5] `simdjson 5.0.1 <https://pypi.org/project/pysimdjson/5.0.1/>`__',
130
- '.. [6] `orjson 3.7.6 <https://pypi.org/project/orjson/3.7.6/>`__',
131
- '.. [7] `ujson 5.4.0 <https://pypi.org/project/ujson/5.4.0/>`__',
132
- '.. [8] `simplejson 3.17.6 <https://pypi.org/pypi/simplejson/3.17.6>`__',
129
+ '.. [5] `simdjson 6.0.2 <https://pypi.org/project/pysimdjson/6.0.2/>`__',
130
+ '.. [6] `orjson 3.10.1 <https://pypi.org/project/orjson/3.10.1/>`__',
131
+ '.. [7] `ujson 5.9.0 <https://pypi.org/project/ujson/5.9.0/>`__',
132
+ '.. [8] `simplejson 3.19.2 <https://pypi.org/pypi/simplejson/3.19.2>`__',
133
133
  '.. [9] Python %d.%d.%d standard library ``json``' % sys.version_info[:3],
134
134
  '.. [10] ``rapidjson.loads()``',
135
135
  '.. [11] ``rapidjson.Decoder()``',
@@ -5,41 +5,41 @@ Serialization
5
5
  +-----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+
6
6
  | serialize | ``dumps()``\ [1]_ | ``Encoder()``\ [2]_ | ``dumps(n)``\ [3]_ | ``Encoder(n)``\ [4]_ | simdjson\ [5]_ | orjson\ [6]_ | ujson\ [7]_ | simplejson\ [8]_ | stdlib\ [9]_ |
7
7
  +=======================+======================+======================+======================+======================+======================+======================+======================+======================+======================+
8
- | 100 arrays dict | 1.00 | 0.99 | 0.77 | 0.76 | 1.97 | **0.26** | 1.09 | 4.00 | 1.95 |
8
+ | 100 arrays dict | 1.00 | 1.01 | 0.72 | 0.73 | 3.00 | **0.26** | 1.23 | 5.73 | 2.89 |
9
9
  +-----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+
10
- | 100 dicts array | 1.00 | 0.99 | 0.81 | 0.76 | 2.06 | **0.34** | 1.06 | 4.96 | 2.04 |
10
+ | 100 dicts array | 1.00 | 1.00 | 0.74 | 0.72 | 2.83 | **0.31** | 1.14 | 6.27 | 2.79 |
11
11
  +-----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+
12
- | 256 Trues array | 1.00 | 1.00 | 1.17 | 1.04 | 2.38 | **0.38** | 1.52 | 2.70 | 2.35 |
12
+ | 256 Trues array | 1.00 | 1.01 | 1.14 | 1.01 | 2.41 | **0.40** | 1.63 | 2.42 | 2.36 |
13
13
  +-----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+
14
- | 256 ascii array | 1.00 | 1.00 | 1.02 | 1.00 | 0.90 | **0.26** | 0.50 | 1.06 | 0.89 |
14
+ | 256 ascii array | 1.00 | 1.04 | 1.03 | 1.07 | 2.12 | **0.16** | 1.02 | 2.49 | 2.04 |
15
15
  +-----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+
16
- | 256 doubles array | 1.00 | 0.99 | 0.99 | 0.99 | 0.84 | **0.06** | 0.21 | 0.88 | 0.83 |
16
+ | 256 doubles array | 1.00 | 0.95 | 1.01 | 1.00 | 1.03 | **0.05** | 0.22 | 0.92 | 0.98 |
17
17
  +-----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+
18
- | 256 unicode array | 1.00 | 0.81 | 0.81 | 0.82 | 0.70 | **0.09** | 0.51 | 0.65 | 0.69 |
18
+ | 256 unicode array | 1.00 | 0.89 | 0.89 | 0.93 | 0.65 | **0.02** | 0.36 | 0.64 | 0.63 |
19
19
  +-----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+
20
- | apache.json | 1.00 | 1.00 | 1.01 | 1.01 | 1.66 | **0.33** | 1.18 | 2.51 | 1.65 |
20
+ | apache.json | 1.00 | 1.10 | 1.04 | 1.09 | 2.92 | **0.34** | 1.58 | 4.66 | 2.93 |
21
21
  +-----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+
22
- | canada.json | 1.00 | 1.00 | 0.99 | 1.00 | 1.06 | **0.09** | 0.34 | 1.72 | 1.06 |
22
+ | canada.json | 1.00 | 1.00 | 0.98 | 0.98 | 1.05 | **0.06** | 0.27 | 1.51 | 1.06 |
23
23
  +-----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+
24
- | complex object | 1.00 | 1.00 | 0.93 | 0.92 | 1.58 | **0.26** | 0.83 | 2.41 | 1.57 |
24
+ | complex object | 1.00 | 1.00 | 0.89 | 0.88 | 1.78 | **0.19** | 0.78 | 2.61 | 1.76 |
25
25
  +-----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+
26
- | composite object | 1.00 | 0.99 | 0.75 | 0.72 | 1.91 | **0.36** | 1.12 | 2.44 | 1.87 |
26
+ | composite object | 1.00 | 1.04 | 0.70 | 0.66 | 2.16 | **0.30** | 1.13 | 2.74 | 2.15 |
27
27
  +-----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+
28
- | ctm.json | 1.00 | 1.00 | 0.76 | 0.76 | 2.11 | **0.33** | 1.43 | 4.81 | 2.13 |
28
+ | ctm.json | 1.00 | 0.99 | 0.73 | 0.72 | 2.31 | **0.24** | 1.11 | 6.17 | 2.53 |
29
29
  +-----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+
30
- | github.json | 1.00 | 1.00 | 0.98 | 0.97 | 1.34 | **0.30** | 0.98 | 1.72 | 1.32 |
30
+ | github.json | 1.00 | 1.00 | 0.94 | 0.94 | 2.29 | **0.21** | 1.19 | 3.07 | 2.27 |
31
31
  +-----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+
32
- | instruments.json | 1.00 | 1.01 | 0.80 | 0.80 | 1.75 | **0.34** | 1.15 | 2.28 | 1.75 |
32
+ | instruments.json | 1.00 | 1.00 | 0.66 | 0.66 | 2.16 | **0.20** | 1.12 | 2.99 | 2.16 |
33
33
  +-----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+
34
- | mesh.json | 1.00 | 0.99 | 0.90 | 0.90 | 0.94 | **0.14** | 0.35 | 1.09 | 0.93 |
34
+ | mesh.json | 1.00 | 1.01 | 0.91 | 0.91 | 1.00 | **0.09** | 0.30 | 1.17 | 1.00 |
35
35
  +-----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+
36
- | truenull.json | 1.00 | 1.02 | 1.03 | 1.01 | 1.87 | **0.41** | 1.69 | 1.89 | 1.86 |
36
+ | truenull.json | 1.00 | 1.00 | 1.00 | 1.01 | 1.94 | **0.26** | 1.59 | 1.92 | 1.93 |
37
37
  +-----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+
38
- | tweet.json | 1.00 | 0.99 | 0.99 | 0.94 | 1.66 | **0.33** | 1.02 | 2.33 | 1.65 |
38
+ | tweet.json | 1.00 | 1.00 | 0.96 | 0.92 | 2.43 | **0.25** | 1.32 | 3.55 | 2.36 |
39
39
  +-----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+
40
- | twitter.json | 1.00 | 1.00 | 0.96 | 0.95 | 1.39 | **0.32** | 1.05 | 1.65 | 1.36 |
40
+ | twitter.json | 1.00 | 1.00 | 0.93 | 0.93 | 1.91 | **0.19** | 1.20 | 2.40 | 1.93 |
41
41
  +-----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+
42
- | overall | 1.00 | 0.99 | 0.83 | 0.82 | 1.71 | **0.22** | 0.90 | 3.33 | 1.70 |
42
+ | overall | 1.00 | 1.01 | 0.81 | 0.82 | 2.26 | **0.18** | 0.88 | 4.12 | 2.19 |
43
43
  +-----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+----------------------+
44
44
 
45
45
  Deserialization
@@ -48,41 +48,41 @@ Deserialization
48
48
  +-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+
49
49
  | deserialize | ``loads()``\ [10]_ | ``Decoder()``\ [11]_ | ``loads(n)``\ [12]_ | ``Decoder(n)``\ [13]_ | simdjson | orjson | ujson | simplejson | stdlib |
50
50
  +=======================+=======================+=======================+=======================+=======================+=======================+=======================+=======================+=======================+=======================+
51
- | 100 arrays dict | 1.00 | 1.05 | 0.90 | 0.95 | 0.86 | **0.56** | 0.86 | 1.07 | 0.97 |
51
+ | 100 arrays dict | 1.00 | 1.07 | 0.89 | 0.97 | 0.95 | **0.65** | 0.92 | 1.22 | 1.05 |
52
52
  +-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+
53
- | 100 dicts array | 1.00 | 0.99 | 0.87 | 0.85 | 0.63 | **0.40** | 0.68 | 1.27 | 1.02 |
53
+ | 100 dicts array | 1.00 | 0.98 | 0.86 | 0.85 | 0.62 | **0.39** | 0.68 | 1.33 | 1.04 |
54
54
  +-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+
55
- | 256 Trues array | 1.00 | 1.02 | 1.11 | 0.99 | 0.92 | **0.48** | 0.83 | 1.51 | 1.36 |
55
+ | 256 Trues array | 1.00 | 1.06 | 1.10 | 1.11 | 1.06 | **0.53** | 0.95 | 1.49 | 1.55 |
56
56
  +-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+
57
- | 256 ascii array | 1.00 | 0.99 | 1.02 | 1.01 | 0.46 | **0.45** | 0.82 | 0.84 | 0.81 |
57
+ | 256 ascii array | 1.00 | 1.01 | 1.02 | 1.00 | 0.50 | **0.39** | 1.18 | 1.01 | 0.94 |
58
58
  +-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+
59
- | 256 doubles array | 1.00 | 1.00 | 0.27 | 0.26 | 0.21 | **0.16** | 0.54 | 1.09 | 1.07 |
59
+ | 256 doubles array | 1.00 | 1.00 | 0.25 | 0.25 | 0.19 | **0.17** | 0.57 | 1.06 | 1.05 |
60
60
  +-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+
61
- | 256 unicode array | 1.00 | 1.00 | 1.00 | 1.00 | 1.10 | **0.39** | 0.80 | 4.49 | 1.29 |
61
+ | 256 unicode array | 1.00 | 0.97 | 0.95 | 0.95 | 0.78 | **0.34** | 0.65 | 3.83 | 1.27 |
62
62
  +-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+
63
- | apache.json | 1.00 | 1.00 | 1.01 | 1.01 | 0.65 | **0.48** | 0.85 | 0.81 | 0.83 |
63
+ | apache.json | 1.00 | 1.01 | 1.01 | 1.01 | 0.67 | **0.48** | 0.81 | 0.92 | 0.76 |
64
64
  +-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+
65
- | canada.json | 1.00 | 1.00 | 0.34 | 0.34 | 0.29 | **0.25** | 0.49 | 1.04 | 0.96 |
65
+ | canada.json | 1.00 | 0.99 | 0.36 | 0.36 | 0.33 | **0.30** | 0.55 | 0.99 | 0.97 |
66
66
  +-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+
67
- | complex object | 1.00 | 1.00 | 0.84 | 0.84 | 0.65 | **0.37** | 0.80 | 1.15 | 1.02 |
67
+ | complex object | 1.00 | 1.06 | 0.89 | 0.89 | 0.63 | **0.35** | 0.70 | 1.23 | 1.07 |
68
68
  +-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+
69
- | composite object | 1.00 | 0.99 | 0.83 | 0.81 | 0.61 | **0.45** | 0.59 | 1.37 | 1.07 |
69
+ | composite object | 1.00 | 1.00 | 0.83 | 0.85 | 0.61 | **0.42** | 0.62 | 1.50 | 1.10 |
70
70
  +-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+
71
- | ctm.json | 1.00 | 1.01 | 0.92 | 0.92 | 0.74 | **0.55** | 1.08 | 1.20 | 1.14 |
71
+ | ctm.json | 1.00 | 1.03 | 0.93 | 0.95 | 0.84 | **0.61** | 1.07 | 1.12 | 1.01 |
72
72
  +-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+
73
- | github.json | 1.00 | 1.00 | 0.98 | 0.98 | 0.62 | **0.41** | 0.76 | 0.86 | 0.79 |
73
+ | github.json | 1.00 | 1.00 | 0.99 | 0.98 | 0.66 | **0.39** | 0.80 | 0.95 | 0.85 |
74
74
  +-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+
75
- | instruments.json | 1.00 | 1.00 | 0.91 | 0.90 | 0.63 | **0.37** | 0.72 | 1.12 | 0.92 |
75
+ | instruments.json | 1.00 | 1.00 | 0.85 | 0.84 | 0.61 | **0.35** | 0.67 | 1.20 | 0.97 |
76
76
  +-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+
77
- | mesh.json | 1.00 | 1.01 | 0.51 | 0.51 | 0.44 | **0.36** | 0.63 | 1.44 | 1.03 |
77
+ | mesh.json | 1.00 | 1.01 | 0.50 | 0.50 | 0.42 | **0.36** | 0.66 | 1.51 | 1.11 |
78
78
  +-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+
79
- | truenull.json | 1.00 | 0.99 | 1.00 | 1.00 | 0.58 | **0.39** | 0.84 | 0.98 | 0.87 |
79
+ | truenull.json | 1.00 | 1.09 | 1.16 | 1.07 | 0.92 | **0.70** | 0.92 | 1.31 | 1.41 |
80
80
  +-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+
81
- | tweet.json | 1.00 | 1.02 | 0.99 | 0.98 | 0.66 | **0.44** | 0.84 | 1.14 | 1.03 |
81
+ | tweet.json | 1.00 | 0.99 | 0.97 | 0.96 | 0.63 | **0.36** | 0.85 | 1.17 | 1.01 |
82
82
  +-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+
83
- | twitter.json | 1.00 | 1.00 | 0.99 | 0.99 | 0.65 | **0.42** | 0.86 | 1.01 | 1.00 |
83
+ | twitter.json | 1.00 | 0.99 | 0.94 | 0.94 | 0.64 | **0.37** | 0.88 | 0.97 | 0.83 |
84
84
  +-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+
85
- | overall | 1.00 | 1.05 | 0.85 | 0.90 | 0.80 | **0.53** | 0.83 | 1.08 | 0.97 |
85
+ | overall | 1.00 | 1.06 | 0.84 | 0.91 | 0.89 | **0.62** | 0.89 | 1.20 | 1.04 |
86
86
  +-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+
87
87
 
88
88
  ASCII vs UTF-8 Serialization
@@ -91,22 +91,22 @@ ASCII vs UTF-8 Serialization
91
91
  +-------------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+
92
92
  | serialize | ``rj ascii``\ [15]_ | ``rj utf8``\ [16]_ | ``uj ascii``\ [17]_ | ``uj utf8``\ [18]_ | ``sj ascii``\ [19]_ | ``sj utf8``\ [20]_ | ``json ascii``\ [21]_ | ``json utf8``\ [22]_ |
93
93
  +=========================+=======================+=======================+=======================+=======================+=======================+=======================+=======================+=======================+
94
- | Long ASCII string | 1.00 | 0.46 | **0.25** | 0.41 | 0.63 | 0.93 | 0.57 | 1.49 |
94
+ | Long ASCII string | 1.00 | 0.78 | 0.49 | **0.48** | 1.91 | 2.36 | 1.54 | 1.41 |
95
95
  +-------------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+
96
- | Long Unicode string | 1.00 | 0.62 | 0.63 | **0.58** | 0.71 | 0.70 | 0.80 | 0.66 |
96
+ | Long Unicode string | 1.00 | 0.47 | 0.27 | 0.35 | 0.60 | 0.50 | 0.54 | **0.27** |
97
97
  +-------------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+
98
- | overall | 1.00 | 0.57 | **0.51** | 0.53 | 0.69 | 0.78 | 0.73 | 0.92 |
98
+ | overall | 1.00 | 0.52 | **0.31** | 0.37 | 0.81 | 0.80 | 0.70 | 0.45 |
99
99
  +-------------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+-----------------------+
100
100
 
101
101
  .. [1] ``rapidjson.dumps()``
102
102
  .. [2] ``rapidjson.Encoder()``
103
103
  .. [3] ``rapidjson.dumps(number_mode=NM_NATIVE)``
104
104
  .. [4] ``rapidjson.Encoder(number_mode=NM_NATIVE)``
105
- .. [5] `simdjson 5.0.1 <https://pypi.org/project/pysimdjson/5.0.1/>`__
106
- .. [6] `orjson 3.7.6 <https://pypi.org/project/orjson/3.7.6/>`__
107
- .. [7] `ujson 5.4.0 <https://pypi.org/project/ujson/5.4.0/>`__
108
- .. [8] `simplejson 3.17.6 <https://pypi.org/pypi/simplejson/3.17.6>`__
109
- .. [9] Python 3.10.5 standard library ``json``
105
+ .. [5] `simdjson 6.0.2 <https://pypi.org/project/pysimdjson/6.0.2/>`__
106
+ .. [6] `orjson 3.10.1 <https://pypi.org/project/orjson/3.10.1/>`__
107
+ .. [7] `ujson 5.9.0 <https://pypi.org/project/ujson/5.9.0/>`__
108
+ .. [8] `simplejson 3.19.2 <https://pypi.org/pypi/simplejson/3.19.2>`__
109
+ .. [9] Python 3.11.8 standard library ``json``
110
110
  .. [10] ``rapidjson.loads()``
111
111
  .. [11] ``rapidjson.Decoder()``
112
112
  .. [12] ``rapidjson.loads(number_mode=NM_NATIVE)``