Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(xxhash3): support arm64 #135

Merged
merged 2 commits into from
May 9, 2022
Merged

fix(xxhash3): support arm64 #135

merged 2 commits into from
May 9, 2022

Conversation

zhangyunhao116
Copy link
Member

No description provided.

@github-actions
Copy link

github-actions bot commented May 9, 2022

Benchdiff

Runs: Benchdiff #65

Job is started.

@github-actions
Copy link

github-actions bot commented May 9, 2022

Benchdiff

Command: go test ./util/xxhash3 -run '^$' -bench . -count 10 -benchtime 1s -cpu 4 -benchmem
HEAD: c41b8bd
Base: 79e6caf
Runs: Benchdiff #65
Degraded: false

Results

pkg: github.com/bytedance/gopkg/util/xxhash3
goos: linux
goarch: amd64

name old time/op (ns/op) ± new time/op (ns/op) ± delta ±
Default/Len0_16/Target64-4 108.763 1% 109.94 3% +1.08% (p=0.017 n=8+10)
Default/Len0_16/Target128-4 333 0% 333.075 0% +0.02% (p=0.037 n=7+8)
Default/Len17_128/Target64-4 1515.38 0% 1522.44 0% +0.47% (p=0.000 n=8+9)
Default/Len17_128/Target128-4 2989.22 0% 2989.7 0% ~ (p=0.415 n=9+10)
Default/Len129_240/Target64-4 2674.11 0% 2681.1 0% +0.26% (p=0.002 n=9+10)
Default/Len129_240/Target128-4 4820.11 3% 4795.9 0% ~ (p=0.673 n=9+10)
Default/Len241_1024/Target64-4 86840.7 6% 84899 3% ~ (p=0.063 n=10+10)
Default/Len241_1024/Target128-4 93178 4% 93690.5 0% +0.55% (p=0.043 n=9+10)
Default/Scalar/Target64-4 5026090 1% 5097110 5% ~ (p=0.182 n=9+10)
Default/Scalar/Target128-4 5139940 4% 5028290 0% -2.17% (p=0.022 n=10+9)
Default/AVX2/Target64-4 2311220 8% 2110180 7% -8.70% (p=0.001 n=10+10)
Default/AVX2/Target128-4 2261960 5% 2080640 2% -8.02% (p=0.000 n=10+10)
Default/SSE2/Target64-4 3182310 3% 2982800 2% -6.27% (p=0.000 n=9+9)
Default/SSE2/Target128-4 3035290 1% 2980480 3% -1.81% (p=0.004 n=10+10)
name old alloc/op (B/op) ± new alloc/op (B/op) ± delta ±
Default/Len0_16/Target64-4 0 0 ~ (all equal)
Default/Len0_16/Target128-4 0 0 ~ (all equal)
Default/Len17_128/Target64-4 0 0 ~ (all equal)
Default/Len17_128/Target128-4 0 0 ~ (all equal)
Default/Len129_240/Target64-4 0 0 ~ (all equal)
Default/Len129_240/Target128-4 0 0 ~ (all equal)
Default/Len241_1024/Target64-4 0 0 ~ (all equal)
Default/Len241_1024/Target128-4 0 0 ~ (all equal)
Default/Scalar/Target64-4 0 0 ~ (all equal)
Default/Scalar/Target128-4 0 0 ~ (all equal)
Default/AVX2/Target64-4 0 0 ~ (all equal)
Default/AVX2/Target128-4 0 0 ~ (all equal)
Default/SSE2/Target64-4 0 0 ~ (all equal)
Default/SSE2/Target128-4 0 0 ~ (all equal)
name old allocs/op (allocs/op) ± new allocs/op (allocs/op) ± delta ±
Default/Len0_16/Target64-4 0 0 ~ (all equal)
Default/Len0_16/Target128-4 0 0 ~ (all equal)
Default/Len17_128/Target64-4 0 0 ~ (all equal)
Default/Len17_128/Target128-4 0 0 ~ (all equal)
Default/Len129_240/Target64-4 0 0 ~ (all equal)
Default/Len129_240/Target128-4 0 0 ~ (all equal)
Default/Len241_1024/Target64-4 0 0 ~ (all equal)
Default/Len241_1024/Target128-4 0 0 ~ (all equal)
Default/Scalar/Target64-4 0 0 ~ (all equal)
Default/Scalar/Target128-4 0 0 ~ (all equal)
Default/AVX2/Target64-4 0 0 ~ (all equal)
Default/AVX2/Target128-4 0 0 ~ (all equal)
Default/SSE2/Target64-4 0 0 ~ (all equal)
Default/SSE2/Target128-4 0 0 ~ (all equal)

@zhangyunhao116 zhangyunhao116 merged commit d1878f6 into develop May 9, 2022
@zhangyunhao116 zhangyunhao116 deleted the fix/xxhash3 branch May 9, 2022 13:49
joway pushed a commit to joway/gopkg that referenced this pull request Apr 17, 2024
Sign up for free to 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.

3 participants