Skip to content

Commit

Permalink
chore(bench): modify PBS bench names
Browse files Browse the repository at this point in the history
  • Loading branch information
agnesLeroy committed Feb 2, 2024
1 parent 8959ddc commit 2398bd1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tfhe/benches/core_crypto/pbs_bench.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ fn multi_bit_benchmark_parameters<Scalar: UnsignedInteger + Default>(
}

fn mem_optimized_pbs<Scalar: UnsignedTorus + CastInto<usize> + Serialize>(c: &mut Criterion) {
let bench_name = "PBS_mem-optimized";
let bench_name = "core_crypto::pbs_mem_optimized";
let mut bench_group = c.benchmark_group(bench_name);

// Create the PRNG
Expand Down Expand Up @@ -242,7 +242,7 @@ fn multi_bit_pbs<
>(
c: &mut Criterion,
) {
let bench_name = "multi_bits_PBS";
let bench_name = "core_crypto::multi_bit_pbs";
let mut bench_group = c.benchmark_group(bench_name);

// Create the PRNG
Expand Down Expand Up @@ -331,7 +331,7 @@ fn multi_bit_deterministic_pbs<
>(
c: &mut Criterion,
) {
let bench_name = "multi_bits_deterministic_PBS";
let bench_name = "core_crypto::multi_bit_deterministic_pbs";
let mut bench_group = c.benchmark_group(bench_name);

// Create the PRNG
Expand Down Expand Up @@ -418,7 +418,7 @@ fn multi_bit_deterministic_pbs<
fn pbs_throughput<Scalar: UnsignedTorus + CastInto<usize> + Sync + Send + Serialize>(
c: &mut Criterion,
) {
let bench_name = "PBS_throughput";
let bench_name = "core_crypto::pbs_throughput";
let mut bench_group = c.benchmark_group(bench_name);

// Create the PRNG
Expand Down Expand Up @@ -553,7 +553,7 @@ mod cuda {
use tfhe::core_crypto::prelude::*;

fn cuda_pbs<Scalar: UnsignedTorus + CastInto<usize> + Serialize>(c: &mut Criterion) {
let bench_name = "cuda::pbs";
let bench_name = "core_crypto::cuda::pbs";
let mut bench_group = c.benchmark_group(bench_name);

// Create the PRNG
Expand Down Expand Up @@ -671,7 +671,7 @@ mod cuda {
>(
c: &mut Criterion,
) {
let bench_name = "cuda::pbs";
let bench_name = "core_crypto::cuda::multi_bit_pbs";
let mut bench_group = c.benchmark_group(bench_name);

// Create the PRNG
Expand Down

0 comments on commit 2398bd1

Please sign in to comment.