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

Debugging fiber selection times #122

Open
renatolond opened this issue Aug 29, 2023 · 0 comments
Open

Debugging fiber selection times #122

renatolond opened this issue Aug 29, 2023 · 0 comments

Comments

@renatolond
Copy link

While exploring polyphony, we did a simple comparison between a multi-threaded software we use and polyphony and we ended up seeing that while polyphony is faster in avg, the max times are much higher than in our threaded version.

However, we couldn't find a way to measure this from inside the executed program. If we add monotonic measures on the server, we seem to get much lower times than we get on the client side. (around 3s on the client side vs 0.9 on the server side at most).

I don't know how to debug what's taking the time, though I would suspect that it's because the main fiber (the one accepting the connection) is suspended, do you have any advice on how to debug this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant