This repository contains benchmarks for h0tk3y/better-parse
.
Currently there's only one benchmark:
The benchmark inputs have been taken here: https://sap.github.io/chevrotain/performance/
The JSON grammar is a stripped version of silmeth/jsonParser
Results on Intel(R) Core(TM) i7-7700HQ CPU @ 3.45 GHz:
Benchmark Mode Cnt Score Error Units
betterParseBenchmark.JsonGrammar.json1k thrpt 30 207.025 ± 1.975 ops/s
Feel free to contribute more benchmarks and comparison to other JVM parsing libraries.