From f7103b73b9cf507aa4cb35b790cf6459439613f7 Mon Sep 17 00:00:00 2001 From: Micha Reiser Date: Wed, 21 Aug 2024 16:46:16 +0200 Subject: [PATCH] Revert "Use the system allocator for codspeed benchmarks (#13005)" This reverts commit 678045e1aab9c7b7aa90af61ccd06c00c098fcb8. --- crates/ruff_benchmark/Cargo.toml | 2 +- crates/ruff_benchmark/benches/formatter.rs | 1 - crates/ruff_benchmark/benches/lexer.rs | 1 - crates/ruff_benchmark/benches/linter.rs | 1 - crates/ruff_benchmark/benches/parser.rs | 1 - 5 files changed, 1 insertion(+), 5 deletions(-) diff --git a/crates/ruff_benchmark/Cargo.toml b/crates/ruff_benchmark/Cargo.toml index 3f27d9344d59d..3efe932a143f0 100644 --- a/crates/ruff_benchmark/Cargo.toml +++ b/crates/ruff_benchmark/Cargo.toml @@ -64,5 +64,5 @@ codspeed = ["codspeed-criterion-compat"] [target.'cfg(target_os = "windows")'.dev-dependencies] mimalloc = { workspace = true } -[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] +[target.'cfg(all(not(target_os = "windows"), not(target_os = "openbsd"), any(target_arch = "x86_64", target_arch = "aarch64", target_arch = "powerpc64")))'.dev-dependencies] tikv-jemallocator = { workspace = true } diff --git a/crates/ruff_benchmark/benches/formatter.rs b/crates/ruff_benchmark/benches/formatter.rs index c3c044ced8414..af2b1caa76770 100644 --- a/crates/ruff_benchmark/benches/formatter.rs +++ b/crates/ruff_benchmark/benches/formatter.rs @@ -15,7 +15,6 @@ static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc; #[cfg(all( not(target_os = "windows"), not(target_os = "openbsd"), - not(codspeed), any( target_arch = "x86_64", target_arch = "aarch64", diff --git a/crates/ruff_benchmark/benches/lexer.rs b/crates/ruff_benchmark/benches/lexer.rs index 178da63e9c983..64b68a7a3539a 100644 --- a/crates/ruff_benchmark/benches/lexer.rs +++ b/crates/ruff_benchmark/benches/lexer.rs @@ -11,7 +11,6 @@ static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc; #[cfg(all( not(target_os = "windows"), not(target_os = "openbsd"), - not(codspeed), any( target_arch = "x86_64", target_arch = "aarch64", diff --git a/crates/ruff_benchmark/benches/linter.rs b/crates/ruff_benchmark/benches/linter.rs index 0286b5b701b75..dc27674ade682 100644 --- a/crates/ruff_benchmark/benches/linter.rs +++ b/crates/ruff_benchmark/benches/linter.rs @@ -19,7 +19,6 @@ static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc; #[cfg(all( not(target_os = "windows"), not(target_os = "openbsd"), - not(codspeed), any( target_arch = "x86_64", target_arch = "aarch64", diff --git a/crates/ruff_benchmark/benches/parser.rs b/crates/ruff_benchmark/benches/parser.rs index 1b986ca7c74ee..ec2fa671c1df0 100644 --- a/crates/ruff_benchmark/benches/parser.rs +++ b/crates/ruff_benchmark/benches/parser.rs @@ -13,7 +13,6 @@ static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc; #[cfg(all( not(target_os = "windows"), not(target_os = "openbsd"), - not(codspeed), any( target_arch = "x86_64", target_arch = "aarch64",