TITLE:
FastJSON: High-Performance SIMD Native JSON Parser for Java 🚀
DESCRIPTION:
Demonstrating FastJSON, the zero-copy, SIMD-accelerated JSON parser for Java. Powered by the unified FastSIMD hardware vector engine, FastJSON parses JSON tokens, scans quotes/delimiters, and performs lazy field extraction at up to 187,000+ operations per second.
DEMO VIDEO:
https://youtu.be/vRKo-_eOOrw
TECHNICAL HIGHLIGHTS:
- FastSIMD Hardware Vector Engine: Integrated native C++ SIMD header (#include "fastsimd.h") for 32-byte parallel quote scanning and delimiter matching.
- Zero-Copy UTF-8 String Operations: Direct memory access on raw byte buffers using FastString foundation to eliminate GC allocation pressure.
- Lazy Field Access: Bypasses parsing unread JSON fields, saving CPU cycles on massive payload requests.
- Official JMH Suite: Standardized benchmark Uber-JAR executable via run-benchmark.bat.
RESULTS:
- Parse Throughput: Up to 187,313 ops/sec in JMH benchmarks (10x-50x faster than traditional JVM JSON parsers)
- Zero-Copy Access: Zero object allocations for string field extraction
- JNI Latency: Critical memory pinning minimizes JNI bridge overhead
FASTJAVA CORE REPOSITORIES:
- FastJSON: https://github.com/andrestubbe/FastJSON
- FastSIMD: https://github.com/andrestubbe/FastSIMD
- FastString: https://github.com/andrestubbe/FastString
- FastBytes: https://github.com/andrestubbe/FastBytes
- FastCore: https://github.com/andrestubbe/FastCore
Ecosystem Overview: https://github.com/andrestubbe/FastJava
Part of the FastJava Ecosystem — Making the JVM faster.
Made with ⚡ by Andre Stubbe
TAGS:
Java, FastJava, FastJSON, FastSIMD, FastString, FastBytes, JSON, AVX2, SIMD, High Performance, C++, JNI, JMH Benchmark