Skip to content

Commit

Permalink
replace gzip golang package by github.com/klauspost/compress (grafana…
Browse files Browse the repository at this point in the history
…#831)

* replace gzip golang package by github.com/klauspost/compress

* cleanup import

* revert grafana tag image
cyriltovena authored Aug 1, 2019

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 0684a22 commit 1dfee23
Showing 33 changed files with 7,773 additions and 1 deletion.
21 changes: 21 additions & 0 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/chunkenc/pool.go
Original file line number Diff line number Diff line change
@@ -2,10 +2,10 @@ package chunkenc

import (
"bufio"
"compress/gzip"
"io"
"sync"

"github.com/klauspost/compress/gzip"
"github.com/prometheus/prometheus/pkg/pool"
)

27 changes: 27 additions & 0 deletions vendor/github.com/klauspost/compress/LICENSE

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

42 changes: 42 additions & 0 deletions vendor/github.com/klauspost/compress/flate/crc32_amd64.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

214 changes: 214 additions & 0 deletions vendor/github.com/klauspost/compress/flate/crc32_amd64.s

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

35 changes: 35 additions & 0 deletions vendor/github.com/klauspost/compress/flate/crc32_noasm.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1,368 changes: 1,368 additions & 0 deletions vendor/github.com/klauspost/compress/flate/deflate.go

Large diffs are not rendered by default.

184 changes: 184 additions & 0 deletions vendor/github.com/klauspost/compress/flate/dict_decoder.go
265 changes: 265 additions & 0 deletions vendor/github.com/klauspost/compress/flate/gen.go
735 changes: 735 additions & 0 deletions vendor/github.com/klauspost/compress/flate/huffman_bit_writer.go

Large diffs are not rendered by default.

347 changes: 347 additions & 0 deletions vendor/github.com/klauspost/compress/flate/huffman_code.go
880 changes: 880 additions & 0 deletions vendor/github.com/klauspost/compress/flate/inflate.go

Large diffs are not rendered by default.

48 changes: 48 additions & 0 deletions vendor/github.com/klauspost/compress/flate/reverse_bits.go
900 changes: 900 additions & 0 deletions vendor/github.com/klauspost/compress/flate/snappy.go

Large diffs are not rendered by default.

106 changes: 106 additions & 0 deletions vendor/github.com/klauspost/compress/flate/token.go
344 changes: 344 additions & 0 deletions vendor/github.com/klauspost/compress/gzip/gunzip.go
251 changes: 251 additions & 0 deletions vendor/github.com/klauspost/compress/gzip/gzip.go
15 changes: 15 additions & 0 deletions vendor/github.com/klauspost/compress/snappy/AUTHORS
37 changes: 37 additions & 0 deletions vendor/github.com/klauspost/compress/snappy/CONTRIBUTORS
27 changes: 27 additions & 0 deletions vendor/github.com/klauspost/compress/snappy/LICENSE
24 changes: 24 additions & 0 deletions vendor/github.com/klauspost/cpuid/.gitignore
23 changes: 23 additions & 0 deletions vendor/github.com/klauspost/cpuid/.travis.yml
35 changes: 35 additions & 0 deletions vendor/github.com/klauspost/cpuid/CONTRIBUTING.txt
22 changes: 22 additions & 0 deletions vendor/github.com/klauspost/cpuid/LICENSE
147 changes: 147 additions & 0 deletions vendor/github.com/klauspost/cpuid/README.md
1,049 changes: 1,049 additions & 0 deletions vendor/github.com/klauspost/cpuid/cpuid.go

Large diffs are not rendered by default.

42 changes: 42 additions & 0 deletions vendor/github.com/klauspost/cpuid/cpuid_386.s
42 changes: 42 additions & 0 deletions vendor/github.com/klauspost/cpuid/cpuid_amd64.s
17 changes: 17 additions & 0 deletions vendor/github.com/klauspost/cpuid/detect_intel.go
23 changes: 23 additions & 0 deletions vendor/github.com/klauspost/cpuid/detect_ref.go
4 changes: 4 additions & 0 deletions vendor/github.com/klauspost/cpuid/generate.go
476 changes: 476 additions & 0 deletions vendor/github.com/klauspost/cpuid/private-gen.go

Large diffs are not rendered by default.

0 comments on commit 1dfee23

Please sign in to comment.