Skip to content

⚡ perf(web-api): add mimalloc, gzip compression, and cache OpenAPI spec#1502

Merged
harehare merged 1 commit intomainfrom
perf/web-api-performance
Mar 27, 2026
Merged

⚡ perf(web-api): add mimalloc, gzip compression, and cache OpenAPI spec#1502
harehare merged 1 commit intomainfrom
perf/web-api-performance

Conversation

@harehare
Copy link
Copy Markdown
Owner

  • Use mimalloc as global allocator (feature-gated via use_mimalloc)
  • Add CompressionLayer for gzip response compression
  • Cache OpenAPI spec using OnceLock to avoid recomputing on each request

- Use mimalloc as global allocator (feature-gated via use_mimalloc)
- Add CompressionLayer for gzip response compression
- Cache OpenAPI spec using OnceLock to avoid recomputing on each request
@harehare harehare merged commit 6e7bcb8 into main Mar 27, 2026
4 of 6 checks passed
@harehare harehare deleted the perf/web-api-performance branch March 27, 2026 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant