Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Decrease the number of warm up runs
Browse files Browse the repository at this point in the history
  • Loading branch information
slumber committed Dec 9, 2021
1 parent e1e42e4 commit 66dfa6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions node/test/performance-test/src/gen_ref_constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ mod run {
time::Duration,
};

const WARM_UP_RUNS: usize = 128;
const WARM_UP_RUNS: usize = 16;
const FILE_HEADER: &str = include_str!("../../../../file_header.txt");
const DOC_COMMENT: &str = "//! This file was automatically generated by `gen-ref-constants`.\n//! Do not edit manually!";
const FILE_PATH: &str = concat!(env!("CARGO_MANIFEST_DIR"), "/src/constants.rs");
Expand Down Expand Up @@ -80,7 +80,7 @@ mod run {

let (pvf_prepare_time, erasure_coding_time) = (1..=WARM_UP_RUNS)
.map(|i| {
if i - 1 > 0 && (i - 1) % 10 == 0 {
if i - 1 > 0 && (i - 1) % 5 == 0 {
log::info!("{} iterations done", i - 1);
}
(
Expand Down

0 comments on commit 66dfa6d

Please sign in to comment.