You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Jerry c2a874ad2b template add generate TableName() func (#13) 5 years ago
..
.gitignore Jerry: update vendor, fix postgres data_type error (#6) 5 years ago
AUTHORS Jerry: update vendor, fix postgres data_type error (#6) 5 years ago
CONTRIBUTORS Jerry: update vendor, fix postgres data_type error (#6) 5 years ago
LICENSE Jerry: update vendor, fix postgres data_type error (#6) 5 years ago
README Jerry: update vendor, fix postgres data_type error (#6) 5 years ago
decode.go Jerry: update vendor, fix postgres data_type error (#6) 5 years ago
decode_amd64.go Jerry: update vendor, fix postgres data_type error (#6) 5 years ago
decode_amd64.s Jerry: update vendor, fix postgres data_type error (#6) 5 years ago
decode_other.go Jerry: update vendor, fix postgres data_type error (#6) 5 years ago
encode.go Jerry: update vendor, fix postgres data_type error (#6) 5 years ago
encode_amd64.go Jerry: update vendor, fix postgres data_type error (#6) 5 years ago
encode_amd64.s Jerry: update vendor, fix postgres data_type error (#6) 5 years ago
encode_other.go Jerry: update vendor, fix postgres data_type error (#6) 5 years ago
snappy.go Jerry: update vendor, fix postgres data_type error (#6) 5 years ago

README

The Snappy compression format in the Go programming language.

To download and install from source:
$ go get github.com/golang/snappy

Unless otherwise noted, the Snappy-Go source files are distributed
under the BSD-style license found in the LICENSE file.



Benchmarks.

The golang/snappy benchmarks include compressing (Z) and decompressing (U) ten
or so files, the same set used by the C++ Snappy code (github.com/google/snappy
and note the "google", not "golang"). On an "Intel(R) Core(TM) i7-3770 CPU @
3.40GHz", Go's GOARCH=amd64 numbers as of 2016-05-29:

"go test -test.bench=."

_UFlat0-8 2.19GB/s ± 0% html
_UFlat1-8 1.41GB/s ± 0% urls
_UFlat2-8 23.5GB/s ± 2% jpg
_UFlat3-8 1.91GB/s ± 0% jpg_200
_UFlat4-8 14.0GB/s ± 1% pdf
_UFlat5-8 1.97GB/s ± 0% html4
_UFlat6-8 814MB/s ± 0% txt1
_UFlat7-8 785MB/s ± 0% txt2
_UFlat8-8 857MB/s ± 0% txt3
_UFlat9-8 719MB/s ± 1% txt4
_UFlat10-8 2.84GB/s ± 0% pb
_UFlat