Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/Aquaticat/Monochromatic. TypeScript and Rust monorepo: Claude Code and Pi coding-agent plugins, a m
Something went wrong. Try again.
2 folders · 4 files
README.md
@monochromatic-dev/module-css-edit.bench #
Parse plus stringify benchmark for
@monochromatic-dev/module-css-edit
against postcss and css-tree,
on a synthetic stylesheet shaped like this repository's real CSS
(custom properties,
& nesting,
media queries,
adversarial strings).
Non-runtime sidecar,
mirroring jsonc-edit.bench;
timings via mitata.
Caveat when reading numbers:
the three parsers do different amounts of work.css-edit keeps bytes and produces token slices (lossless),
postcss builds a full node tree with raws (lossless-ish),
css-tree builds a detailed value-level AST and emits minified output (lossy).
Running #
mise run //package/module/css-edit.bench:bench