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

Add benchmark for streaming calls. #346

Merged
merged 2 commits into from
Nov 27, 2022
Merged

Conversation

zenhack
Copy link
Contributor

@zenhack zenhack commented Nov 24, 2022

Note, this includes the fix from #345, which should be merged first.

As expected, the profile output has runtime.mallocgc at the top.

Which seems to fix capnproto#344. This indicates there's a bug in
transport.NewPipe(), but I kinda want to phase that out anyway, so...
@zenhack zenhack marked this pull request as draft November 24, 2022 02:24
@zenhack
Copy link
Contributor Author

zenhack commented Nov 24, 2022

Ack, just realized this doesn't really measure what I wanted it to; marking as a draft for the moment.

@zenhack
Copy link
Contributor Author

zenhack commented Nov 24, 2022

It's hard to see how that failure could be related to adding a new benchmark, so I'm going to assume this was a pre-existing bug that is rare enough for it to have slipped by so far; I'll open an issue.

rpc/bench_test.go Show resolved Hide resolved
@zenhack zenhack marked this pull request as ready for review November 27, 2022 20:25
@zenhack
Copy link
Contributor Author

zenhack commented Nov 27, 2022

Ok, that's a different panic, opened #349 for it. Going to run again.

@lthibault lthibault merged commit 045230e into capnproto:main Nov 27, 2022
@zenhack zenhack deleted the stream-bench branch November 27, 2022 22:19
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.

2 participants