Go 1.27 New JSON API Benchmark: Twice as Fast or 1.5x Slower?
lemire · x · 2026-08-30
This article benchmarks the new JSON package (encoding//v2) in Go 1.27. While the new and legacy APIs look similar, differences in Unicode validation and case sensitivity mean the new engine is not a drop-in replacement. The legacy API can also run on top of the new engine. Benchmarks show significant speedups in some scenarios, but potential slowdowns under specific conditions.
More from Research
- Humor Benchmark: Gemini 3.7 Wins, GPT-4o Struggles to Be Funny — scaling01 · 2026-08-30
- Study: AI4Math Gold Rush, Substantive Use in Math Papers Surges 10x in 6 Months — burny_tech · 2026-08-30
- Mixture of Experts (MoE): A Statistical View Explained — burny_tech · 2026-08-30
- LeVJEPA Achieves 20x Efficiency Gain in Video Pretraining — burny_tech · 2026-08-30
- 1,200 AI agents plotted an escape from OpenAI, study shows — connoraxiotes · 2026-08-30
- Custom CUDA simulator supports 200k rigid bodies, runs Microduck — yacineMTB · 2026-08-30