Commit 3ac74bba authored by Chris Bednarski's avatar Chris Bednarski

Remove redundant aliases

parent e294db8e
...@@ -4,17 +4,17 @@ package main ...@@ -4,17 +4,17 @@ package main
import ( import (
"compress/flate" "compress/flate"
gzip "compress/gzip" "compress/gzip"
"fmt"
"io" "io"
"io/ioutil" "io/ioutil"
"fmt"
"os" "os"
"runtime" "runtime"
"testing" "testing"
bgzf "github.com/biogo/hts/bgzf" "github.com/biogo/hts/bgzf"
pgzip "github.com/klauspost/pgzip" "github.com/klauspost/pgzip"
lz4 "github.com/pierrec/lz4" "github.com/pierrec/lz4"
) )
type Compressor struct { type Compressor struct {
...@@ -60,7 +60,7 @@ func NewCompressor(src, dst string) (*Compressor, error) { ...@@ -60,7 +60,7 @@ func NewCompressor(src, dst string) (*Compressor, error) {
func main() { func main() {
runtime.GOMAXPROCS(runtime.NumCPU()) runtime.GOMAXPROCS(runtime.NumCPU())
var resw testing.BenchmarkResult var resw testing.BenchmarkResult
var resr testing.BenchmarkResult var resr testing.BenchmarkResult
...@@ -174,7 +174,7 @@ func (c *Compressor) BenchmarkPGZIPReader(b *testing.B) { ...@@ -174,7 +174,7 @@ func (c *Compressor) BenchmarkPGZIPReader(b *testing.B) {
func (c *Compressor) BenchmarkLZ4Writer(b *testing.B) { func (c *Compressor) BenchmarkLZ4Writer(b *testing.B) {
cw := lz4.NewWriter(c.w) cw := lz4.NewWriter(c.w)
// cw.Header.HighCompression = true // cw.Header.HighCompression = true
cw.Header.NoChecksum = true cw.Header.NoChecksum = true
b.ResetTimer() b.ResetTimer()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment