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

Added benchmark test for listener.Flush() #253

Merged
merged 2 commits into from
Apr 23, 2024

Conversation

LiZhenCheng9527
Copy link
Collaborator

What this PR does / why we need it:
Added benchmark test for listener.Flush()

Signed-off-by: LiZhenCheng9527 <lizhencheng6@huawei.com>
pkg/cache/v2/listener_test.go Outdated Show resolved Hide resolved
pkg/cache/v2/listener_test.go Show resolved Hide resolved
pkg/cache/v2/listener_test.go Outdated Show resolved Hide resolved
Signed-off-by: LiZhenCheng9527 <lizhencheng6@huawei.com>
@LiZhenCheng9527
Copy link
Collaborator Author

goos: linux
goarch: amd64
pkg: kmesh.net/kmesh/pkg/cache/v2
cpu: Intel(R) Xeon(R) Gold 6278C CPU @ 2.60GHz
BenchmarkFlush-4             100        4974271585 ns/op
PASS
ok      kmesh.net/kmesh/pkg/cache/v2    497.555s

Copy link
Member

@hzxuzhonghu hzxuzhonghu left a comment

Choose a reason for hiding this comment

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

/lgtm

@kmesh-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hzxuzhonghu

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kmesh-bot kmesh-bot merged commit ba9dcf8 into kmesh-net:main Apr 23, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants