I made JSON.parse() 2x faster

This page summarizes the projects mentioned and recommended in the original post on /r/programming

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • vulkano

    Safe and rich Rust wrapper around the Vulkan API

  • simdjson

    Parsing gigabytes of JSON per second : used by Facebook/Meta Velox, the Node.js runtime, ClickHouse, WatermelonDB, Apache Doris, Milvus, StarRocks

  • Would you consider SIMD operations parallel? https://github.com/simdjson/simdjson

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • simdjson_nodejs

    Node.js bindings for the simdjson project: "Parsing gigabytes of JSON per second"

  • Since I've posted it, I've learned of two prototype that replaces JSON.parse in Node (V8) with a simdjson-based one, also with a very good speedup. (see: https://github.com/luizperes/simdjson_nodejs and https://github.com/croteaucarine/simdjson_node_objectwrap ) So the core takeaway of the blog post (use simdjson to implement JSON.parse then don't mess it up with unnecessary copying, transcoding, etc) is proven to at least be portable to V8.

  • simdjson_node_objectwrap

    Node bindings for the simdjson project

  • Since I've posted it, I've learned of two prototype that replaces JSON.parse in Node (V8) with a simdjson-based one, also with a very good speedup. (see: https://github.com/luizperes/simdjson_nodejs and https://github.com/croteaucarine/simdjson_node_objectwrap ) So the core takeaway of the blog post (use simdjson to implement JSON.parse then don't mess it up with unnecessary copying, transcoding, etc) is proven to at least be portable to V8.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts