-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
verify concurrency behaves as intended #10
Comments
This is a known problem. See rust-lang/rust#98712 |
I noticed that the |
Concurrency is working 👀I built a release binary and I ran some simple benchmarks using
pure-python vs native rust
2.36x faster is a significant improvement! py-binding vs native rust
We'll call this a negligible result. py-binding vs node-binding
This showed a negligible difference in performance as well. Still room for improvement 🤔The benchmarks above do not use HTTP requests (which are also executed asynchronously in rust). And I'm not yet using tokio's async alternative of rust's Add a CI job to do benchmarkIt would be nice to spot performance regressions using a CI workflow. This would require an additional checkout of parent commit (on push to main branch) or main branch (on PR sync event). |
Recently, I implemented the tokio runtime for asynchronous execution of
Although, I didn't notice any performance boost in the tests. I'm wondering if I missed something. Additionally, some
await
commands in some of the tests do not show as triggered in the coverage reports (using llvm-cov reports, not codecov which only shows line coverage).The text was updated successfully, but these errors were encountered: