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(serverless,runtime,cli): use DashMap & with_capacity where possible #663

Merged
merged 2 commits into from
Mar 12, 2023

Conversation

QuiiBz
Copy link
Member

@QuiiBz QuiiBz commented Mar 12, 2023

About

Improve performance in serverless, runtime, and cli by:

  • using DashMap instead of RwLock<HashMap>
  • using HashMap::with_capacity where possible
  • using ThreadRng instead of creating a new StdRng every time

@vercel
Copy link

vercel bot commented Mar 12, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

4 Ignored Deployments
Name Status Preview Comments Updated
dashboard ⬜️ Ignored (Inspect) Visit Preview Mar 12, 2023 at 11:00AM (UTC)
docs ⬜️ Ignored (Inspect) Visit Preview Mar 12, 2023 at 11:00AM (UTC)
storybook ⬜️ Ignored (Inspect) Visit Preview Mar 12, 2023 at 11:00AM (UTC)
www ⬜️ Ignored (Inspect) Visit Preview Mar 12, 2023 at 11:00AM (UTC)

@QuiiBz QuiiBz merged commit 822db09 into main Mar 12, 2023
@QuiiBz QuiiBz deleted the perf/serverless-runtime-cli-dashmap-capacity branch March 12, 2023 11:10
@QuiiBz QuiiBz mentioned this pull request Mar 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant