Skip to content

Update zstd to 1.3.0 - #18

Merged
elijahandrews merged 2 commits into
1.xfrom
elijah/1.3.0
Sep 7, 2017
Merged

Update zstd to 1.3.0#18
elijahandrews merged 2 commits into
1.xfrom
elijah/1.3.0

Conversation

@elijahandrews

Copy link
Copy Markdown
Contributor

No description provided.

@Viq111Viq111 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Benchmarks (same payload as #1):

Current branch:
local:~/datadog/zstd (1.x✔) eval"$(gimme 1.8.3)"goversiongo1.8.3darwin/amd64local:~/datadog/zstd (1.x✔) gotest-bench . -benchtime10sBenchmarkStreamCompression-4100130811864ns/op76.22MB/sBenchmarkStreamDecompression-450032245337ns/op309.21MB/sBenchmarkCompression-4100119040542ns/op83.76MB/sBenchmarkDecompression-4100021742581ns/op458.57MB/s---BENCH: BenchmarkDecompression-4
zstd_test.go:156: Reducedfrom9970564to3444121
zstd_test.go:156: Reducedfrom9970564to3444121
zstd_test.go:156: Reducedfrom9970564to3444121local:~/datadog/zstd (1.x✔) eval"$(gimme 1.9rc2)"goversiongo1.9rc2darwin/amd64local:~/datadog/zstd (1.x✔) gotest-bench . -benchtime10s
goos: darwin
goarch: amd64BenchmarkStreamCompression-4100122424710ns/op81.44MB/sBenchmarkStreamDecompression-450031619403ns/op315.33MB/sBenchmarkCompression-4100118267762ns/op84.31MB/sBenchmarkDecompression-450022691712ns/op439.39MB/s---BENCH: BenchmarkDecompression-4
zstd_test.go:156: Reducedfrom9970564to3444121
zstd_test.go:156: Reducedfrom9970564to3444121
zstd_test.go:156: Reducedfrom9970564to3444121Yourbranch (zstd1.3.0):
local:~/datadog/zstd (elijah/1.3.0✔) eval"$(gimme 1.8.3)"goversiongo1.8.3darwin/amd64local:~/datadog/zstd (elijah/1.3.0✔) gotest-bench . -benchtime10sBenchmarkStreamCompression-4100133005398ns/op74.96MB/sBenchmarkStreamDecompression-450031422800ns/op317.30MB/sBenchmarkCompression-4100126352613ns/op78.91MB/sBenchmarkDecompression-4100020781138ns/op479.79MB/s---BENCH: BenchmarkDecompression-4
zstd_test.go:156: Reducedfrom9970564to3429982
zstd_test.go:156: Reducedfrom9970564to3429982
zstd_test.go:156: Reducedfrom9970564to3429982local:~/datadog/zstd (elijah/1.3.0✔) eval"$(gimme 1.9rc2)"goversiongo1.9rc2darwin/amd64local:~/datadog/zstd (elijah/1.3.0✔) gotest-bench . -benchtime10sgoos: darwingoarch: amd64BenchmarkStreamCompression-4100143386144ns/op69.54MB/sBenchmarkStreamDecompression-450031575229ns/op315.77MB/sBenchmarkCompression-4100128747846ns/op77.44MB/sBenchmarkDecompression-4100020747701ns/op480.56MB/s---BENCH: BenchmarkDecompression-4
zstd_test.go:156: Reducedfrom9970564to3429982
zstd_test.go:156: Reducedfrom9970564to3429982
zstd_test.go:156: Reducedfrom9970564to3429982

So overall compression seems a tiny bit slower (~2-5%), decompression faster (~10%) and compression ratio (just tested on mr payload though) is roughtly the same (change: -0.4%)

@elijahandrews
elijahandrews merged commit 0727e17 into 1.xSep 7, 2017
@elijahandrews
elijahandrews deleted the elijah/1.3.0 branch September 7, 2017 14:37
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@elijahandrews@Viq111