Skip to content

Add crates.io benchmark #2146

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

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Add crates.io benchmark #2146

wants to merge 2 commits into from

Conversation

Kobzol
Copy link
Contributor

@Kobzol Kobzol commented May 29, 2025

Opening as a draft, as an example of a real-world async application.

@nnethercote
Copy link
Contributor

I found similar things to the zulip discussion:

  • 600+ dependencies, that's a lot, it takes a long time to compile them all. I even had some trouble with my 16GB /tmp partition filling up and causing multi-profile+multi-scenario runs to fail, something I've never experienced before.
  • And after all that, the final binary is rather small. ~0.5s for a check full build, ~2s for an opt full build.
  • The Cachegrind profile is not that exciting. It has some of the new metadata stuff we got in large-workspace, but in smaller proportions. Apart from that, the rest of the profile looks similar to many others.

Overall it doesn't seem like it's too expensive, and not valuable enough.

@Kobzol
Copy link
Contributor Author

Kobzol commented May 30, 2025

Yeah the binary probably wasn't a good choice. I can try to switch this to the library instead later.

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.

2 participants