oxc/tasks/benchmark/benches
overlookmotel b479afdafc ci: transformer benchmark measure transformer itself only (#5193)
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.
2024-08-27 01:53:27 +00:00
..
codegen.rs chore(benchmark): add codegen benchmark (#4207) 2024-07-11 23:58:37 +08:00
isolated_declarations.rs chore(benchmark): add isolated declarations (#4078) 2024-07-07 17:14:48 +08:00
lexer.rs
linter.rs feat(linter): eslint-plugin-vitest/no-import-node-test (#4440) 2024-07-29 13:53:42 +08:00
minifier.rs perf(minifier): only visit arrow expression after dropping console.log (#4677) 2024-08-06 04:20:41 +00:00
parser.rs chore(tasks): parse regular expression in parser benchmark (#5212) 2024-08-26 13:11:09 +08:00
parser_napi.rs chore: improve some format by running cargo +nightly fmt 2024-06-19 00:48:30 +08:00
prettier.rs feat!(ast): make Trivias clonable by adding Arc (#3638) 2024-06-12 13:16:10 +08:00
semantic.rs refactor(ci): include drop in semantic benchmark (#5245) 2024-08-27 09:30:52 +08:00
sourcemap.rs feat(sourcemap): add ConcatSourceMapBuilder::from_sourcemaps (#4639) 2024-08-06 14:08:17 +08:00
transformer.rs ci: transformer benchmark measure transformer itself only (#5193) 2024-08-27 01:53:27 +00:00