oxc/tasks/benchmark
Boshen 5c38a0fd69 feat(codegen)!: new code gen API (#3740)
This PR introduces two type alias to avoid the confusing const generic `pub struct Codegen<'a, const MINIFY: bool>`

* CodeGenerator - Code generator without whitespace removal.
* WhitespaceRemover - Code generator with whitespace removal.

Usage is changed to a builder pattern:

```rust
CodeGenerator::new()
  .enable_comment(...)
  .enable_sourcemap(...)
  .build(&program);
```
2024-06-18 15:50:12 +00:00
..
benches feat(codegen)!: new code gen API (#3740) 2024-06-18 15:50:12 +00:00
codspeed chore(deps): update pnpm to v9.3.0 (#3707) 2024-06-17 03:16:12 +00:00
src chore: criterion2 (#2737) 2024-03-16 18:55:04 +08:00
Cargo.toml chore: bump criterion2 (#3444) 2024-05-28 15:49:51 +08:00
README.md