Skip to content

Commit

Permalink
ff_bench changes
Browse files Browse the repository at this point in the history
  • Loading branch information
JeroenGar committed Feb 18, 2024
1 parent 85af117 commit 278b3e9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,5 @@ fabric.properties
.idea/caches/build_file_checksums.ser

/assets/#*.dxf

/solutions/
8 changes: 4 additions & 4 deletions lbf/benches/fast_fail_bench.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ criterion_group!(benches, fast_fail_query_bench);

mod util;

const FF_POLE_RANGE: &[usize] = &[0,1,2,3,4];
const FF_PIER_RANGE: &[usize] = &[0,1,2,3,4];
const FF_POLES: &[usize] = &[0,1,2,3,4];
const FF_PIERS: &[usize] = &[0,1,2,3,4];

const ITEMS_ID_TO_TEST: &[usize] = &[0, 1, 2, 3, 4, 5, 6, 7, 8, 9];

Expand All @@ -39,8 +39,8 @@ fn fast_fail_query_bench(c: &mut Criterion) {

let mut group = c.benchmark_group("fast_fail_query_bench");

let config_combos = FF_POLE_RANGE.iter().map(|n_ff_poles|
FF_PIER_RANGE.iter().map(|n_ff_piers| (*n_ff_poles, *n_ff_piers)).collect_vec())
let config_combos = FF_POLES.iter().map(|n_ff_poles|
FF_PIERS.iter().map(|n_ff_piers| (*n_ff_poles, *n_ff_piers)).collect_vec())
.flatten().collect_vec();

let mut config = create_base_config();
Expand Down

0 comments on commit 278b3e9

Please sign in to comment.