Repository navigation
Extract benchmark tool from core crate - #2208
Merged
Merged
Conversation
Benchmark resultsInstruction countsSignificant differencesThere are no significant instruction count differences Other differencesClick to expand
Wall-timeSignificant differencesThere are no significant wall-time differences Other differencesClick to expand
Additional informationCheckout details:
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2208 +/- ##
==========================================
+ Coverage 94.63% 94.74% +0.10%
==========================================
Files 102 102
Lines 23928 24730 +802
==========================================
+ Hits 22645 23431 +786
- Misses 1283 1299 +16 ☔ View full report in Codecov by Sentry. |
djc
reviewed
Nov 13, 2024
ctz
force-pushed
the
jbp-split-out-bench
branch
from
November 14, 2024 15:16
3409c11 to
8858cb7
Compare
djc
reviewed
Nov 15, 2024
ctz
force-pushed
the
jbp-split-out-bench
branch
from
November 15, 2024 11:34
8858cb7 to
d264b9d
Compare
djc
approved these changes
Nov 15, 2024
cpu
approved these changes
Nov 15, 2024
ctz
force-pushed
the
jbp-split-out-bench
branch
from
November 15, 2024 15:43
d264b9d to
f25b40c
Compare
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Nov 18, 2024
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Nov 18, 2024
This means bench can be built for several providers at once, which then requires (eg) `--provider aws-lc-rs` to be specified. If there is one provider specified by crate features, this is used implicitly.
This reduces the number of arguments to various functions, by folding them all into a Parameters struct. This can then be passed whole to most functions. Also, some if statements on the constituent types are replaced with matches.
ctz
force-pushed
the
jbp-split-out-bench
branch
from
November 18, 2024 11:35
f25b40c to
3cb90a9
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The end goal here is to allow this tool to depend on providers in other crates.
The second commit is a straight rename from
rustls-bench/src/bench_impl.rstorustls-bench/src/main.rsbut git's rename detection is broken for it for some reason.