Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Apply suggestions from code review
  • Loading branch information
bkchr authored Oct 7, 2020
commit 55b39eb830b95acdb92dd9e4dc48a4c3bfdf02f6
8 changes: 4 additions & 4 deletions bin/node/testing/src/bench.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,11 @@ impl BenchPair {
///
/// Will panic if cache drop is impossbile.
pub fn drop_system_cache() {

#[cfg(target_os = "windows")] {
log::warn!(target: "bench-logistics",
"Clearing system cache on windows is not supported. Benchmark might totally be wrong.");
log::warn!(
target: "bench-logistics",
"Clearing system cache on windows is not supported. Benchmark might totally be wrong.",
);
return;
}

Expand Down Expand Up @@ -140,7 +141,6 @@ pub fn drop_system_cache() {
}
log::trace!(target: "bench-logistics", "Clearing system cache done!");
}

}

/// Pre-initialized benchmarking database.
Expand Down