rnet & ry QA #305
jessekrubin
started this conversation in
General
Replies: 5 comments 16 replies
|
It seems your benchmark wasn’t run with --release. As for why reqwest is so slow, I think it’s because creating the client is slow. wreq has indeed optimized the client creation speed. |
0 replies
|
I went back and checked and did run those benchmarks with a release build, the results are similar to that image above. Very cool that your client creation is so fast.. Let me know if you ever want to team up. I added a default client to ry so one can get around the client creation cost. |
0 replies
|
@jessekrubin bro, you need to fix the issue where the ry.reqwest Python interceptor isn’t initialized. It’s easy to run into errors in rnet benchmarks because of this. ref: https://github.com/0x676e67/rnet/blob/758d50941b8d976dcb297a0f321867ec9d25e673/src/lib.rs#L173 |
8 replies
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment




Uh oh!
There was an error while loading. Please reload this page.
Hi @0x676e67,
Very cool project. It looks like this is very similar to my (side) project's
reqwestbindings (https://github.com/jessekrubin/ry). Curious if you might wanna talk, collaborate, and/or have any critiques of my code!Very curious what you are planning on doing w/ respect to http3. My
reqwestbindings are very much a WIP but are coming along nicely. Curious what is different aboutrnet/wreqfromreqwestand why you decided to forkreqwestThere is a lot of overlap between several of python-structs and what I have in
ry. One of the goals ofryis that the sub-crates can be used by other rust-python projects.Any which way,
Hope all is well,
jesse
All reactions