Tag

orjson

0 views collected around this technical thread.

Python Programming Learning Circle
Python Programming Learning Circle
Aug 9, 2021 · Backend Development

How to Choose the Fastest JSON Library for Python: A Practical Benchmarking Guide

This article explains a systematic process for evaluating and selecting the most suitable high‑performance JSON library for Python, covering the need assessment, benchmark definition, filtering by additional requirements, and detailed benchmark results that highlight orjson as the fastest option for small‑message encoding while discussing trade‑offs such as safety, customizability, and ecosystem support.

JSONPerformancePython
0 likes · 5 min read
How to Choose the Fastest JSON Library for Python: A Practical Benchmarking Guide
Python Programming Learning Circle
Python Programming Learning Circle
Aug 9, 2021 · Backend Development

Choosing Faster JSON Libraries in Python: ujson, rapidjson, and orjson Comparison

The article investigates why Python's built‑in json.dumps can be slow on large data structures, compares the performance of ujson, python‑rapidjson, simplejson, and the Rust‑based orjson, provides benchmark code, installation commands, and discusses a bug in ujson's indent handling.

JSONPerformancePython
0 likes · 6 min read
Choosing Faster JSON Libraries in Python: ujson, rapidjson, and orjson Comparison