tailcall
tailcall copied to clipboard
performance: improve performance of `RequestTemplate`
The set_body
method can be optimized for the case of ApplicationXWwwFormUrlencoded
.
Currently, it renders the mustache template as a string, then converts it to serde_json and then again converts it to a form_url_encoded value.
Ideally, there it shouldn't take such redundant steps to make this transformation.
Technical Requirements
- Write idiomatic rust code while making an optimization
- Write criterion benchmarks to compare the before and after performance.
/bounty 200$
💎 $200 bounty • Tailcall Inc.
Steps to solve:
-
Start working: Comment
/attempt #934
with your implementation plan -
Submit work: Create a pull request including
/claim #934
in the PR body to claim the bounty - Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts
Additional opportunities:
-
🔴 Livestream on Algora TV while solving this bounty & earn $200 upon merge! Comment
/livestream
once live
🙏 Thank you for contributing to tailcallhq/tailcall! 🧐 Checkout our guidelines before you get started.
Attempt | Started (GMT+0) | Solution |
---|---|---|
🟢 @shivamklr | Mar 12, 2024, 10:49:44 AM | WIP |
Hi! @tusharmath I want to work on the issue, can you assign it to me.
@tusharmath Can I be assigned to this?
Sure go ahead
/attempt #934
@shivamklr: Another person is already attempting this issue. Please don't start working on this issue unless you were explicitly asked to do so.
Hey @guhitb, can I take up from where you stopped on #1084?