# Compile time comparison ## 2023 Commit: `c5cf3959639f070fcd9b68dae3f8680d39990366` Command: `rm -rf target && cargo build --all --profile PROFILE` Rust: `rustc 1.74.0 (79e9716c9 2023-11-13)` Apply the following patch: ``` diff --git a/substrate/frame/nomination-pools/src/lib.rs b/substrate/frame/nomination-pools/src/lib.rs index c3fd6a98e88..5b1d6af7782 100644 --- a/substrate/frame/nomination-pools/src/lib.rs +++ b/substrate/frame/nomination-pools/src/lib.rs @@ -3467,7 +3467,7 @@ impl<T: Config> Pallet<T> { /// Check if any pool have an incorrect amount of ED frozen. /// /// This can happen if the ED has changed since the pool was created. - #[cfg(any(feature = "try-runtime", feature = "runtime-benchmarks", test, debug_assertions))] + #[cfg(any(feature = "try-runtime", feature = "runtime-benchmarks", feature = "fuzzing", test, debug_assertions))] pub fn check_ed_imbalance() -> Result<(), DispatchError> { let mut failed: u32 = 0; BondedPools::<T>::iter_keys().for_each(|id| { ``` | Machine | Profile | Time| | ------------|----------|-------| | Apple M2 Max 12-Core 64GB RAM | `production` | 42m 53s | | Apple M2 Max 12-Core 64GB RAM | `release` | 29m 29s | | Apple M2 Max 12-Core 64GB RAM | `dev` | 19m 35s | | Apple M3 Pro 12-Core 36GB RAM | `production` | 46m 58s | | Apple M3 Pro 12-Core 36GB RAM | `release` | 26m 41s | | Apple M3 Pro 12-Core 36GB RAM | `dev` | 17m 25s | | Apple M4 Max 16-Core 128GB RAM | `production` | 31m 08s | | Apple M4 Max 16-Core 128GB RAM | `release` | 15m 29s | | Apple M4 Max 16-Core 128GB RAM | `dev` | 10m 42s | | AMD Ryzen 9 3900X 12-Core Processor 64GB RAM | `production` | 44m 42s | | AMD Ryzen 9 3900X 12-Core Processor 64GB RAM | `release` | 22m 19s | | AMD Ryzen 9 3900X 12-Core Processor 64GB RAM | `dev` | 18m 42s | | AMD Ryzen 9 5950X 16-Core Processor 64GB RAM | `production` | 36m 34s | | AMD Ryzen 9 5950X 16-Core Processor 64GB RAM | `release` | 18m 16s | | AMD Ryzen 9 5950X 16-Core Processor 64GB RAM | `dev` | 15m 56s | | AMD Ryzen 9 7950X 16-Core Processor 64GB RAM | `production` | 29m 10s | | AMD Ryzen 9 7950X 16-Core Processor 64GB RAM | `release` | 12m 56s | | AMD Ryzen 9 7950X 16-Core Processor 64GB RAM | `dev` | 11m 08s | | AMD Ryzen Threadripper 7980X 64-Cores 256GB RAM | `production` | 20m 41s | | AMD Ryzen Threadripper 7980X 64-Cores 256GB RAM | `release` | 6m 12s | | AMD Ryzen Threadripper 7980X 64-Cores 256GB RAM | `dev` | 5m 27s |
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up