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

benchmark and compare with net and other frameworks #1

Closed
lesismal opened this issue Aug 18, 2021 · 2 comments
Closed

benchmark and compare with net and other frameworks #1

lesismal opened this issue Aug 18, 2021 · 2 comments

Comments

@lesismal
Copy link
Owner

lesismal commented Aug 18, 2021

No description provided.

@lesismal
Copy link
Owner Author

lesismal commented Aug 18, 2021

4c 4 poller

image
image
image

8c 8 poller

image
image
image

8c 6 poller

g := nbio.NewGopher(nbio.Config{
	Network: "tcp",
	Addrs:   []string{port},
	NPoller: 6,
})

image
image
image

@lesismal
Copy link
Owner Author

奇怪,8c 8 poller ,大 buffer 比如 4k 8k 时,nbio 能干过标准库

image
image

@lesismal lesismal changed the title 0001: poller 框架默认创建核心数个 poller 协程,大于 8c 时性能下降 benchmark and compare with net and other frameworks Mar 13, 2022
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

No branches or pull requests

1 participant