Commit 809f826
committed
add CLI performance comparison: jjq native-image vs jq 1.8.1
hyperfine benchmarks on 14MB production file. jq's C parser is ~36%
faster on parse-dominated CLI workloads. jjq wins on identity
round-trip (15% faster serialization). Both have sub-2ms startup.
Key insight: jjq's optimizations (interning, zero-alloc queries,
bytecode VM) are designed for the library use case (parse once,
query many), not CLI one-shot execution.1 parent fd76728 commit 809f826
1 file changed
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
297 | 313 | | |
298 | 314 | | |
299 | 315 | | |
| |||
0 commit comments