Skip to content

Commit

Permalink
Adjust benchmarks and bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
milesgranger committed Sep 22, 2024
1 parent 92816e1 commit d6bf077
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "isal-rs"
version = "0.1.0+62519d9"
version = "0.2.0+496255c"
edition = "2021"

[lib]
Expand Down
4 changes: 2 additions & 2 deletions benches/igzip.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use std::io;
use std::io::Cursor;

fn get_data() -> Vec<u8> {
(0..10_000)
(0..500_000)
.map(|_| b"oh what a beautiful morning, oh what a beautiful day!!".to_vec())
.flat_map(|v| v)
.collect()
Expand Down Expand Up @@ -101,7 +101,7 @@ fn igzip_encoder(c: &mut Criterion) {

criterion_group! {
name = benches;
config = Criterion::default().sample_size(250);
config = Criterion::default().sample_size(50);
targets =
igzip_compress,
igzip_compress_into,
Expand Down
2 changes: 1 addition & 1 deletion isal-sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "isal-sys"
version = "0.1.0+62519d9"
version = "0.2.0+496255c"
edition = "2021"

[features]
Expand Down

0 comments on commit d6bf077

Please sign in to comment.