Skip to content

Commit 6f667b3

Browse files
author
bloom
committed
update benchmarks data size
1 parent d476ce3 commit 6f667b3

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

benchmarks/benches/chacha.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use chacha20::{KeyIvInit, cipher::StreamCipher};
33
use criterion::*;
44

55
fn chacha12(c: &mut Criterion) {
6-
for n in [64, 2048, 64 * 1024, 1024 * 1024, 10 * 1024 * 1024] {
6+
for n in [64, 256, 1024, 4096, 16384, 65536] {
77
let mut group = c.benchmark_group(format!("{}", n));
88
let mut plaintext = vec![0u8; n];
99

benchmarks/benches/encrypt.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use chacha20poly1305::{ChaCha20Poly1305, KeyInit};
44
use criterion::*;
55

66
fn bench(c: &mut Criterion) {
7-
for n in [64, 2048, 64 * 1024, 1024 * 1024, 10 * 1024 * 1024] {
7+
for n in [64, 256, 1024, 4096, 16384, 65536] {
88
let mut group = c.benchmark_group(format!("{}", n));
99
let mut plaintext = vec![0u8; n];
1010

0 commit comments

Comments
 (0)