Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
Nashtare authored Jul 15, 2024
2 parents 8670356 + 4090881 commit e0c9b9f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions plonky2/benches/ffts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use plonky2::field::types::Field;
use tynm::type_name;

pub(crate) fn bench_ffts<F: Field>(c: &mut Criterion) {
let mut group = c.benchmark_group(&format!("fft<{}>", type_name::<F>()));
let mut group = c.benchmark_group(format!("fft<{}>", type_name::<F>()));

for size_log in [13, 14, 15, 16] {
let size = 1 << size_log;
Expand All @@ -21,7 +21,7 @@ pub(crate) fn bench_ffts<F: Field>(c: &mut Criterion) {
pub(crate) fn bench_ldes<F: Field>(c: &mut Criterion) {
const RATE_BITS: usize = 3;

let mut group = c.benchmark_group(&format!("lde<{}>", type_name::<F>()));
let mut group = c.benchmark_group(format!("lde<{}>", type_name::<F>()));

for size_log in [13, 14, 15, 16] {
let orig_size = 1 << (size_log - RATE_BITS);
Expand Down
2 changes: 1 addition & 1 deletion plonky2/benches/merkle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use tynm::type_name;
const ELEMS_PER_LEAF: usize = 135;

pub(crate) fn bench_merkle_tree<F: RichField, H: Hasher<F>>(c: &mut Criterion) {
let mut group = c.benchmark_group(&format!(
let mut group = c.benchmark_group(format!(
"merkle-tree<{}, {}>",
type_name::<F>(),
type_name::<H>()
Expand Down

0 comments on commit e0c9b9f

Please sign in to comment.