Skip to content

Commit

Permalink
fix toolchain in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
YangchenYe323 committed Apr 5, 2024
1 parent 2ef0ef4 commit c818316
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
toolchain: nightly-2024-02-04
override: true
components: rustfmt, clippy

Expand Down
2 changes: 1 addition & 1 deletion column-sketch-eval/benches/parquet_benchmark.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ fn bench_parquet(criterion: &mut Criterion) {
.unwrap();

for input_file in files {
let (codes, map) = runtime.block_on(build_column_sketch(input_file)).unwrap();
let group_name = format!("Benchmark {}", input_file);
let mut group = criterion.benchmark_group(group_name);
// Baseline
Expand All @@ -33,7 +34,6 @@ fn bench_parquet(criterion: &mut Criterion) {
});

group.bench_function(BenchmarkId::new("Column Sketch", 0), |b| {
let (codes, map) = runtime.block_on(build_column_sketch(input_file)).unwrap();
b.iter(|| runtime.block_on(execute_column_sketch(input_file, 50.0, &codes, &map)))
});
}
Expand Down

0 comments on commit c818316

Please sign in to comment.