Skip to content

Commit

Permalink
Add benchmark using the 7-Zip/LZMA SDK archive
Browse files Browse the repository at this point in the history
Contains lots of files with a mix of compression methods.
  • Loading branch information
bodgit committed May 2, 2022
1 parent af5b2ca commit b4d08ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions reader_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,3 +167,7 @@ func BenchmarkLZMA2(b *testing.B) {
func BenchmarkBCJ2(b *testing.B) {
benchmarkArchive(b, "bcj2.7z")
}

func BenchmarkComplex(b *testing.B) {
benchmarkArchive(b, "lzma1900.7z")
}
Binary file added testdata/lzma1900.7z
Binary file not shown.

0 comments on commit b4d08ab

Please sign in to comment.