swc/bundler/scripts/instrument.sh
Donny/강동윤 d0342a5a58
feat(swcpack): Enable concurrent mode (#2356)
swc_common:
 - Use `Mutex` from `parking_lot` instead of it from std.

swc_bundler:
 - Use `fxhash` if possible.
 - Don't `clone()` all modules if the entry has only one item.

swc_ecma_loader:
 - `NodeModulesResolver`: Use `path-clean` instead of `canonicalize`.

swc_ecma_transforms_optimization:
 - Reimplement `dce`

node_bundler:
 - Enable `concurrent` of `swc_bundler`.
2021-10-08 16:47:01 +09:00

4 lines
139 B
Bash
Executable File

#!/usr/bin/env bash
set -eu
cargo instruments --release -t time --example bundle --features concurrent,tracing/release_max_level_off -- $@