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:~~
~~1. Start working: Comment /attempt #934 with your implementation plan~~
~~2. Submit work: Create a pull request including /claim #934 in the PR body to claim the bounty~~
~~3. 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! Make sure to have your camera and microphone on. 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?
Action required: Issue inactive for 30 days. Status update or closure in 7 days.
Issue closed after 7 days of inactivity.