fix: flapping test due to cache

This commit is contained in:
rudy
2022-09-26 16:33:27 +02:00
committed by rudy-6-4
parent 0ca92d7c4c
commit 5a2ddccc6f

View File

@@ -439,6 +439,9 @@ mod tests {
complexity_model: &CpuComplexity::default(),
};
let _ = optimize_v0(sum_size, precision, config, weight as f64, &search_space);
// ensure cache is filled
let chrono = Instant::now();
let state = optimize_v0(sum_size, precision, config, weight as f64, &search_space);