Skip to content

Commit

Permalink
🚚 Rename test function lzma -> xz
Browse files Browse the repository at this point in the history
  • Loading branch information
ChanTsune committed Oct 16, 2024
1 parent 653fa0b commit 1817f37
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/benches/create_extract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ fn read_deflate_archive_from_slice(b: &mut Bencher) {
}

#[bench]
fn write_lzma_archive(b: &mut Bencher) {
fn write_xz_archive(b: &mut Bencher) {
bench_write_archive(b, {
let mut builder = WriteOptions::builder();
builder.compression(Compression::XZ);
Expand All @@ -165,7 +165,7 @@ fn write_lzma_archive(b: &mut Bencher) {
}

#[bench]
fn read_lzma_archive(b: &mut Bencher) {
fn read_xz_archive(b: &mut Bencher) {
bench_read_archive(b, {
let mut builder = WriteOptions::builder();
builder.compression(Compression::XZ);
Expand All @@ -174,7 +174,7 @@ fn read_lzma_archive(b: &mut Bencher) {
}

#[bench]
fn read_lzma_archive_from_slice(b: &mut Bencher) {
fn read_xz_archive_from_slice(b: &mut Bencher) {
bench_read_archive_from_slice(b, {
let mut builder = WriteOptions::builder();
builder.compression(Compression::XZ);
Expand Down

0 comments on commit 1817f37

Please sign in to comment.