Skip to content

Instantly share code, notes, and snippets.

@teepark
Created November 25, 2009 22:08
Show Gist options
  • Save teepark/243067 to your computer and use it in GitHub Desktop.
Save teepark/243067 to your computer and use it in GitHub Desktop.
(pyyajl) 0 bromium[1044]:~/projects/py-yajl> python compare.py
yajl serialize: 0.442 deserialize: 1.137 total: 1.579
cjson serialize: 0.640 deserialize: 0.265 total: 0.906
simplejson serialize: 1.457 deserialize: 1.104 total: 2.561
stdlib json serialize: 5.951 deserialize: 17.412 total: 23.364
(pyyajl) 0 bromium[1045]:~/projects/py-yajl> deactivate; git checkout py3k; python3 compare.py
Switched to branch 'py3k'
yajl serialize: 1.331 deserialize: 0.878 total: 2.209
stdlib json serialize: 1.291 deserialize: 1.398 total: 2.688
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment