Skip to content

Use an alternative JSON deserialization library #157

Open
@DanielRosenwasser

Description

@DanielRosenwasser

I've heard through the grapevine that one of our current constraints has been JSON size due to the limits of parsing speed. A fairly recent blog post I read actually points out two incredibly capable competitors:

See: JSON vs simpleJSON vs ultraJSON

Offhand notes:

  • Both libraries seem to be consistently faster for loads.
    • This is significant beacuse we only do loads.
  • UltraJSON generally seems to be faster than simplejson.
  • UltraJSON has a C code dependency.
  • simplejson is written in Python, but has an optional C backend for speed.

I think it would be worth experimenting with the two to see what kinds of gains we can get.


I've plotted the data from the blog post below.

Loads

image

image

Dumps

image

image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions