mirror of
https://github.com/danbulant/oxc
synced 2026-05-23 06:08:47 +00:00
Transformer benchmark measure only the transformer itself. Parse, generate `Semantic`, and drop `Semantic` outside of the measured section. This should: 1. Give us greater visibility of how changes to transformer affect its performance. 2. Reduce variance in transformer benchmarks, since they will no longer include the variance introduced by `SemanticBuilder`. Not ready to merge yet. We should first add an "end to end" benchmark testing the entire compilation process (parse - semantic - transform - minify - codegen). This PR depends on https://github.com/Boshen/criterion2.rs/pull/49. This PR currently makes Oxc's dependency on `criterion2` a git dependency on that PR's branch. That can be changed once the upstream PR is merged. |
||
|---|---|---|
| .. | ||
| benches | ||
| codspeed | ||
| src | ||
| Cargo.toml | ||
| README.md | ||