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

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
j2ghz committed Nov 20, 2021
1 parent 98a89eb commit 25df53a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
authors = ['J2ghz <j2.00ghz@gmail.com>']
categories = ['command-line-utilities']
description = 'Generates images from rtl_power csv files'
edition = '2018'
edition = '2021'
exclude = ['samples/*']
keywords = [
'sdr',
Expand Down
4 changes: 2 additions & 2 deletions benches/bench.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ fn get_test_files() -> std::vec::Vec<std::path::PathBuf> {
fn preprocess_bench(c: &mut Criterion) {
let mut group = c.benchmark_group("preprocess implementations");
for file in get_test_files().iter() {
let size = get_file_size(&file);
let size = get_file_size(file);
group.throughput(Throughput::Bytes(size));
group.bench_with_input(
BenchmarkId::new("basic", file.display()),
Expand Down Expand Up @@ -85,7 +85,7 @@ fn preprocess_bench(c: &mut Criterion) {
fn process_bench(c: &mut Criterion) {
let mut group = c.benchmark_group("process implementations");
for file in get_test_files().iter() {
let size = get_file_size(&file);
let size = get_file_size(file);
group.throughput(Throughput::Bytes(size));
group.bench_with_input(
BenchmarkId::new("basic", file.display()),
Expand Down

0 comments on commit 25df53a

Please sign in to comment.