Skip to content

Add regex-1.5.5 benchmark #1231

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

Merged
merged 3 commits into from
Mar 23, 2022
Merged

Conversation

rylev
Copy link
Member

@rylev rylev commented Mar 23, 2022

This adds the regex-1.5.5 as a benchmark. Here is the comparison in total build times:

  • regex:
    • check: 1.83s
    • build: 2.55s
    • build --release: 4.06s
  • regex-1.5.5:
    • check: 2.15s
    • build: 3.46s
    • build --release: 7.35s

As you can see, the new version takes a bit longer but still well within the realm of reason.

As for cpu-clock:u (again, I can't measure cycles on my machine):

image

It appears that the crate takes a bit longer to compile but well within reason and it should definitely exercise the compiler enough to give relevant results.

@rylev rylev requested a review from nnethercote March 23, 2022 10:00
@rylev rylev changed the title Add regex 1.5.5 benchmark Add regex-1.5.5 benchmark Mar 23, 2022
@rylev rylev merged commit 0d9890f into rust-lang:master Mar 23, 2022
@rylev rylev deleted the add-regex-1.5.5-benchmark branch March 23, 2022 17: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.

2 participants