Tagged articles

yyjson

2 articles · Page 1 of 1
Open Source Tech Hub
Open Source Tech Hub
May 24, 2026 · Backend Development

FastJSON: A Drop‑In PHP 8.3+ JSON Extension Up to 6× Faster Than ext/json

FastJSON is a high‑performance PHP 8.3+ JSON extension that serves as a drop‑in replacement for ext/json, offering namespaced fastjson_* APIs, full compatibility with json_last_error, and delivering up to six‑fold speed gains in encoding, decoding, and validation while detailing installation steps, supported flags, memory trade‑offs, and benchmark results.

BenchmarkFastJSONPHP
0 likes · 7 min read
FastJSON: A Drop‑In PHP 8.3+ JSON Extension Up to 6× Faster Than ext/json
IEG Growth Platform Technology Team
IEG Growth Platform Technology Team
Jun 6, 2022 · Backend Development

Performance Comparison of cjson, rapidjson, and yyjson in OpenResty with a Lua Wrapper

The article benchmarks cjson, rapidjson, and yyjson JSON libraries on a 6‑core OpenResty setup, shows that combining rapidjson's encode with yyjson's decode reduces 500,000 mixed encode/decode operations to 11 seconds, and describes a Lua wrapper that adds schema validation and improves maintainability.

LuaOpenRestyPerformance
0 likes · 7 min read
Performance Comparison of cjson, rapidjson, and yyjson in OpenResty with a Lua Wrapper