A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2011-April/110805.html below:

[Python-Dev] Status of json (simplejson) in cpython

[Python-Dev] Status of json (simplejson) in cpython [Python-Dev] Status of json (simplejson) in cpythonVinay Sajip vinay_sajip at yahoo.co.uk
Sun Apr 17 12:33:26 CEST 2011
Antoine Pitrou <solipsis <at> pitrou.net> writes:

> Feel free to share your numbers.

I've now got my fork working on Python 3.2 with speedups. According to a
non-scientific simple test:

Python 2.7
==========
Python version: 2.7.1+ (r271:86832, Apr 11 2011, 18:05:24) 
[GCC 4.5.2]
11.21484375 KiB read
Timing simplejson:
0.271898984909
Timing stdlib json:
0.338716030121

Python 3.2
==========
Python version: 3.2 (r32:88445, Mar 25 2011, 19:28:28) 
[GCC 4.5.2]
11.21484375 KiB read
Timing simplejson:
0.3150200843811035
Timing stdlib json:
0.32146596908569336

Based on this test script:

https://gist.github.com/923927

and the simplejson version here:

https://github.com/vsajip/simplejson/

Regards,

Vinay Sajip


More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4