Skip to content

Commit c5f1cbe

Browse files
authoredMar 15, 2025··
test(es/minifier): Disable real-world benchmarks on CI (#10205)
**Description:** Those benchmarks are too slow.
1 parent b9e892b commit c5f1cbe

File tree

1 file changed

+4
-0
lines changed
  • crates/swc_ecma_minifier/benches

1 file changed

+4
-0
lines changed
 

‎crates/swc_ecma_minifier/benches/full.rs

+4
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ fn bench_libs(c: &mut Criterion) {
5252
}
5353

5454
fn bench_real(c: &mut Criterion) {
55+
if std::env::var("CI").is_ok_and(|v| v == "1") {
56+
return;
57+
}
58+
5559
let input_dir = CARGO_TARGET_DIR.join("swc-minifier-inputs");
5660

5761
git_clone(

0 commit comments

Comments
 (0)
Please sign in to comment.