Skip to content

Commit f873d2a

Browse files
authored
Revert "Use the system allocator for codspeed benchmarks" (#13035)
1 parent ecd9e6a commit f873d2a

File tree

5 files changed

+1
-5
lines changed

5 files changed

+1
-5
lines changed

crates/ruff_benchmark/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,5 @@ codspeed = ["codspeed-criterion-compat"]
6464
[target.'cfg(target_os = "windows")'.dev-dependencies]
6565
mimalloc = { workspace = true }
6666

67-
[target.'cfg(all(not(target_os = "windows"), not(codspeed), not(target_os = "openbsd"), any(target_arch = "x86_64", target_arch = "aarch64", target_arch = "powerpc64")))'.dev-dependencies]
67+
[target.'cfg(all(not(target_os = "windows"), not(target_os = "openbsd"), any(target_arch = "x86_64", target_arch = "aarch64", target_arch = "powerpc64")))'.dev-dependencies]
6868
tikv-jemallocator = { workspace = true }

crates/ruff_benchmark/benches/formatter.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc;
1515
#[cfg(all(
1616
not(target_os = "windows"),
1717
not(target_os = "openbsd"),
18-
not(codspeed),
1918
any(
2019
target_arch = "x86_64",
2120
target_arch = "aarch64",

crates/ruff_benchmark/benches/lexer.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc;
1111
#[cfg(all(
1212
not(target_os = "windows"),
1313
not(target_os = "openbsd"),
14-
not(codspeed),
1514
any(
1615
target_arch = "x86_64",
1716
target_arch = "aarch64",

crates/ruff_benchmark/benches/linter.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc;
1919
#[cfg(all(
2020
not(target_os = "windows"),
2121
not(target_os = "openbsd"),
22-
not(codspeed),
2322
any(
2423
target_arch = "x86_64",
2524
target_arch = "aarch64",

crates/ruff_benchmark/benches/parser.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc;
1313
#[cfg(all(
1414
not(target_os = "windows"),
1515
not(target_os = "openbsd"),
16-
not(codspeed),
1716
any(
1817
target_arch = "x86_64",
1918
target_arch = "aarch64",

0 commit comments

Comments
 (0)