Skip to content

Commit

Permalink
Add performance baseline (#434)
Browse files Browse the repository at this point in the history
  • Loading branch information
klauspost authored Sep 1, 2021
1 parent dac4d4c commit c608412
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gzip/gzip_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ package gzip
import (
"bufio"
"bytes"
oldgz "compress/gzip"
"io"
"io/ioutil"
"math/rand"
Expand Down Expand Up @@ -486,6 +485,7 @@ func benchmarkGzipN(b *testing.B, level int) {
}
}

/*
func BenchmarkOldGzipL1(b *testing.B) { benchmarkOldGzipN(b, 1) }
func BenchmarkOldGzipL2(b *testing.B) { benchmarkOldGzipN(b, 2) }
func BenchmarkOldGzipL3(b *testing.B) { benchmarkOldGzipN(b, 3) }
Expand Down Expand Up @@ -522,3 +522,5 @@ func benchmarkOldGzipN(b *testing.B, level int) {
}
}
}
*/

0 comments on commit c608412

Please sign in to comment.