[READ-ONLY] Mirror of https://github.com/Aquaticat/Monochromatic. TypeScript and Rust monorepo: Claude Code and Pi coding-agent plugins, a m
README.md

@monochromatic-dev/module-jsonc-edit.bench #

Parse benchmark sidecar for @monochromatic-dev/module-jsonc-edit.

This package holds the benchmark so the runtime package's src/ stays pure production code (no benchmark, fuzz, or conformance tooling), which keeps a whole-package mutation run scoped to real runtime files. See the fuzz and conformance sidecars for the other tooling.

Run #

mise run //package/module/jsonc-edit.bench:bench

It compares parseJsonc against microsoft jsonc-parser and jsonc-eslint-parser on a clean document (where jsonc-edit takes the native JSON.parse fast-path) and a commented document (where it uses the structured parser). Numbers are machine-dependent; run the task to reproduce them locally.