Opened 7 years ago

Closed 6 years ago

#9266 closed (fixed)

Update simplejson to 2.0.1

Reported by: msaelices Owned by: mtredinnick
Component: Core (Serialization) Version: 1.0
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

Simplejson library in version 2.0.1 include severals optimizations that multiplies encoding/decoding speed. This is the announcement.

In author words:

Even without the C speedups, it's several times faster. With the C speedups, it's WAY faster. I highly recommend that everyone update their frameworks to use the latest code.

Attachments (1)

use_system_simplejson.diff (380 bytes) - added by paulegan 7 years ago.
Small patch to use system installed simplejson package, in preference to django's bundled version

Download all attachments as: .zip

Change History (6)

comment:1 Changed 7 years ago by SmileyChris

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

Changed 7 years ago by paulegan

Small patch to use system installed simplejson package, in preference to django's bundled version

comment:2 Changed 7 years ago by djw

Benchmarks seem to show that simplejson 2.0.3 is 60x faster than django's bundled version:

http://inkdroid.org/journal/2008/10/24/json-vs-pickle/

comment:3 Changed 6 years ago by mtredinnick

The patch attached to this ticket is an entirely different issue and, as noted in a recent django-dev thread on this topic, it isn't at all a no-brainer, since it's quite conceivable that the Django version will be more recent than the system-installed version.

comment:4 Changed 6 years ago by mtredinnick

  • Owner changed from nobody to mtredinnick
  • Status changed from new to assigned

Waiting on resolution of a django-dev thread about the status of the included module and then I've got an update ready to land.

comment:5 Changed 6 years ago by mtredinnick

  • Resolution set to fixed
  • Status changed from assigned to closed

Fixed in r9707.

Note: See TracTickets for help on using tickets.
Back to Top