Skip to content

About

Deterministic generated fixtures for Biome performance benchmarks

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

Repository files navigation

Biome Benchmark Fixtures

Deterministic generated fixtures for Biome performance benchmarks.

SCSS corpus

The corpus contains one broad syntax-coverage file and eleven focused files for source-mechanic performance candidates. The files are generated artifacts; edit generate.mjs, not files under generated/.

File Purpose
generated/full-spectrum.scss Covers every syntax ID in the generator catalog.
generated/hot-ambiguous-nested-rules.scss Declaration-versus-nested-rule ambiguity.
generated/hot-url-interpolation.scss Raw URL and interpolation scanning.
generated/hot-interpolated-strings.scss Segmented interpolated strings.
generated/hot-tight-binary-expressions.scss Tight operators and precedence loops.
generated/hot-lists-maps-arguments.scss Large expression collections and arguments.
generated/hot-tight-operators.scss Source-tight binary operator chains.
generated/hot-operator-precedence.scss Mixed unary and binary precedence.
generated/hot-lists.scss Dense space- and comma-separated lists.
generated/hot-maps.scss Dense nested map expressions.
generated/hot-arguments.scss Dense positional, rest, and keyword arguments.
generated/hot-url-interpolation-direct.scss Direct interpolated URLs without a surrounding style rule.

These focused files are candidates for measuring parser hot paths. Benchmark data must establish their runtime importance.

Generate

Requires Node.js 20.19 or newer.

npm run generate

Verify

npm test
npm run check

manifest.json records target and actual sizes, line and case counts, SHA-256 hashes, seeds, and syntax counts. Generation contains no timestamps or machine-specific data.

Consumption

Pin consumers to an immutable repository commit. Do not download fixtures from the moving main branch in a performance baseline.

Generator version 2 is the first supported immutable baseline. Version-1 commits are development history and must not be consumed as baselines.

License

MIT

About

Deterministic generated fixtures for Biome performance benchmarks

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages