已合并
internal/sync: Add support for wide trie in sync.HashTrieMap #51
spy20051623创建于 1月28日
internal/sync: Add support for wide trie in sync.HashTrieMap #51
已合并
spy20051623创建于 1月28日
spy20051623成员
1月28日

internal/sync: Add support for wide trie in sync.HashTrieMap

bench: taskset -c 288 go test -bench=. -timeout=10h -v -run=^$ -count=10 ./internal/sync

goos: linux
goarch: arm64
pkg: internal/sync
                            │ triebase.txt │            trietest.txt             │
                            │    sec/op    │   sec/op     vs base                │
HashTrieMapLoadSmall          9.938n ± 11%   9.199n ± 4%   -7.43% (p=0.481 n=10)
HashTrieMapLoad               13.11n ±  6%   12.46n ± 4%   -4.88% (p=0.000 n=10)
HashTrieMapLoadLarge          53.31n ±  1%   38.38n ± 1%  -28.01% (p=0.000 n=10)
HashTrieMapLoadOrStore        14.26n ±  5%   13.42n ± 6%   -5.93% (p=0.005 n=10)
HashTrieMapLoadOrStoreLarge   48.86n ±  0%   35.34n ± 2%  -27.67% (p=0.000 n=10)
geomean                       21.72n         18.36n       -15.48%

Tests:

image.png

likedislike
Pull Request已成功合入, 合并人@openeuler-ci-bot
(感谢 spy20051623 的贡献)
Sspy20051623成员
1月28日 创建了 pull request,commit cab3ccce
openeuler-ci-botopeneuler-ci-bot成员
1月28日 添加了label:sig/sig-golang
openeuler-ci-botopeneuler-ci-bot成员
1月28日 将genedna,jing-rui设为审查人
openeuler-ci-bot
openeuler-ci-bot成员
1月28日 评论:

Welcome To openEuler Community

Hey @spy20051623 , thanks for your contribution to the community.

Bot Usage Manual

I'm the Bot here serving you. You can find the instructions on how to interact with me at Here . That means you can comment below every pull request or issue to trigger Bot Commands.

Contact Guide

If you have any questions, please contact the SIG: sig-golang ,
and any of the maintainers: @genedna, @jing-rui ,
and any of the committers: @fuowang, @wd-gitcode .

likedislike
openeuler-ci-botopeneuler-ci-bot成员
1月28日 添加了label:openeuler-cla/yes
openeuler-ci-bot
openeuler-ci-bot成员
1月28日 评论:

CLA Signature Pass

spy20051623, thanks for your pull request. All authors of the commits have signed the CLA. 👍

likedislike
openeuler-ci-botopeneuler-ci-bot成员
1月28日 添加了label:ci_processing
openeuler-ci-bot
openeuler-ci-bot成员
1月28日 评论:

门禁正在运行, 您可以通过以下链接查看实时门禁检查结果.
若您对门禁结果含义不清晰或者遇到问题不知如何解决,可参考门禁指导手册
门禁入口及编码规范检查: multiarch/openeuler/trigger/golang/16/console

likedislike
openeuler-ci-botopeneuler-ci-bot成员
1月28日 删除了label:ci_processing
openeuler-ci-bot
openeuler-ci-bot成员
1月28日 评论:
Check Name Build Result Build Details
check_sca ⚠WARNING #16
check_code ✅SUCCESS
check_package_license ⚠WARNING
x86_64 check_build ✅SUCCESS #11
aarch64 check_build ✅SUCCESS #16
likedislike
openeuler-ci-botopeneuler-ci-bot成员
1月28日 添加了label:ci_successful
openeuler-ci-bot
openeuler-ci-bot成员
1月28日 评论:
likedislike
Sspy20051623成员
2月11日 修改了pull request 的描述
Sspy20051623成员
2月11日 修改标题为 “internal/sync: Add support for wide trie in sync.HashTrieMap”,原标题为“Add support for wide trie in sync.HashTrieMap”
Sspy20051623成员
2月11日 修改了pull request 的描述
Sspy20051623成员
2月11日 修改了pull request 的描述
wd-gitcode成员
2月27日 评论:

/lgtm
/approve

likedislike
openeuler-ci-bot
openeuler-ci-bot成员
2月27日 评论:

Review Code Feedback

  • The label lgtm was added to this pull request. It means that wd-gitcode reviewed the code changes. 👋
Tips
  • If this pull request is not merged while all conditions are met, comment /check-pr to try again. 😄
likedislike
openeuler-ci-bot
openeuler-ci-bot成员
2月27日 评论:

Review Code Feedback

  • The label approved was added to this pull request. It means that wd-gitcode reviewed the code changes. 👋
Tips
  • If this pull request is not merged while all conditions are met, comment /check-pr to try again. 😄
likedislike
openeuler-ci-botopeneuler-ci-bot成员
2月27日 添加了label:approvedlgtm
openeuler-ci-botopeneuler-ci-bot成员
2月27日 合入了pull request,合并节点 SHA:c7ee5b6e2619631c588072812861a92b1033b947