Skip to content

Use omnijson for best json #9

@ned14

Description

@ned14

Can I suggest that you use http://pypi.python.org/pypi/omnijson to retrieve the best json?

cjson hasn't been maintained in years (plus doesn't compile on Windows), and ujson beats the pants off it in speed anyway. If nothing else, you really ought to swap cjson for ujson throughout your library. Here's some benchmarks for Python 2.7:

G:\Oxyderkeia>python json_speed_test.py
Please wait ...
Starting json...
done: 9.36400008202
Starting ujson...
done: 1.34500002861
Starting cjson...
done: 3.60399985313
Starting pickle...
done: 10.2590000629

Thanks,
Niall

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions