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

perf: improve http cache performance #1928

Conversation

ranjitmahadik
Copy link
Contributor

@ranjitmahadik ranjitmahadik commented May 13, 2024

Summary:

  • created separate workspace, tailcall-http-cache which contains the optimised cache manager.
  • bench results:
    before: [38.054 µs 38.204 µs 38.428 µs]
    after: [18.419 µs 18.432 µs 18.449 µs]
    performance improvement : 51%.

Issue Reference(s):
Related #1852

Build & Testing:

  • I ran cargo test successfully.
  • I have run ./lint.sh --mode=fix to fix all linting issues raised by ./lint.sh --mode=check.

Checklist:

  • I have added relevant unit & integration tests.
  • I have updated the documentation accordingly.
  • I have performed a self-review of my code.
  • PR follows the naming convention of <type>(<optional scope>): <title>

@ranjitmahadik ranjitmahadik marked this pull request as draft May 13, 2024 11:47
@ranjitmahadik ranjitmahadik added the ci: benchmark Runs benchmarks label May 13, 2024
@tusharmath tusharmath marked this pull request as ready for review May 14, 2024 11:40
@tusharmath tusharmath merged commit 16cb14d into chore/added-http-execute-benchmark May 15, 2024
11 of 13 checks passed
@tusharmath tusharmath deleted the perf/improve-http-cache-performance branch May 15, 2024 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci: benchmark Runs benchmarks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants