[1902.08318] Parsing Gigabytes of JSON per Second
Abstract:JavaScript Object Notation or JSON is a ubiquitous data exchange format on the Web. Ingesting JSON documents can become a performance bottleneck due to the sheer volume of data. We are thus motivated to make JSON parsing as fast as possible. Despite the maturity of the problem of JSON parsing, we show that substantial speedups are possible. We present the first standard-compliant JSON parser to process gigabytes of data per second on a single core, using commodity processors. We can use a quarter or fewer instructions than a state-of-the-art reference parser like RapidJSON. Unlike other validating parsers, our software (simdjson) makes extensive use of Single Instruction, Multiple Data (SIMD) instructions. To ensure reproducibility, simdjson is freely available as open-source software under a liberal license.
Parsing Gigabytes of JSON per Second Geoff Langdale · Daniel Lemire arXiv:1902.08318v7 [cs.DB] 23 Jul 2024 Abstract JavaScript Object Notation or JSON is a The JSON syntax can be viewed as a restricted form ubiquitous data exchange format on the Web. Ingesting of JavaScript, but it is used in many programming lan- JSON documents can become a performance bottleneck guages. JSON has four…
related reading
- Parsing JSON Really Quickly: Lessons Learned - InfoQinfoq.com
- JSON - Wikipediaen.wikipedia.org
- NYSRGnotes.ekzhang.com
- Choosing a faster JSON library for Pythonpythonspeed.com
- abseil / Performance Hintsabseil.io
- Let's see Paul Allen's SIMD CSV parser | chunkofcoal.comchunkofcoal.com
- RFC 6902 - JavaScript Object Notation (JSON) Patchdatatracker.ietf.org
- Things Of Interestqntm.org
- JavaScript Articles - 30 seconds of code30secondsofcode.org
- JSON Files - Spark 4.1.2 Documentationspark.apache.org
- Populating the page: how browsers work - Performance | MDNdeveloper.mozilla.org
- CRDTs go brrrjosephg.com