Highlights
Performance: 1 Billion JSON Records in 16 seconds
- Parallel group-by: 1B records at 3.0 GB/s (97% of disk I/O speed)
- bjq native 2-5x faster than jq on all scales
- 100M+ records with only 4GB heap (jq OOMs at 100M)
New Architecture
- FastJSONParser: byte-level parser with field interning, CompactObject, Int32 cache
- StreamingJSONParser: SIMD structural index, zero-copy slices for >2GB files
- MappedJsonScanner: Foreign Memory API mmap for multi-GB files
- ParallelGroupByExec: 1BRC-inspired parallel chunk processing with open-addressing byte-key hash map
- SpillableGroupBy: disk-spill for large aggregations
- MorselPipeline: DuckDB-inspired morsel-driven parallelism
- TupleSerializer: binary serialization for external merge sort
Native Binaries
All binaries built with Oracle GraalVM, PGO (Profile-Guided Optimization), G1 GC, and -O3:
bjq-linux-amd64bjq-linux-arm64bjq-macos-amd64bjq-macos-arm64bjq-windows-amd64.exe
Install
curl -L https://github.com/sirixdb/brackit/releases/latest/download/bjq-linux-amd64 -o bjq
chmod +x bjq
sudo mv bjq /usr/local/bin/Full Changelog: v0.7...v0.9