-
-
Notifications
You must be signed in to change notification settings - Fork 318
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
Run performance tests in mainnet preset #2935
Merged
Merged
Conversation
This file contains 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
dapplion
requested review from
mpetrunic,
twoeths and
wemeetagain
as code owners
August 10, 2021 12:30
Code Climate has analyzed commit 3edb045 and detected 0 issues on this pull request. View more on Code Climate. |
wemeetagain
approved these changes
Aug 10, 2021
|
Benchmark suite | Current: 9aff2b5 | Previous: 05e8265 | Ratio |
---|---|---|---|
Process block - 250000 vs - 7PWei - with 0 validator exit | 6.2960 ms/op | 354.94 us/op | 17.74 |
epoch phase0 - 250000 vs - 7PWei - beforeProcessEpoch | 1.9365 s/op | 634.02 ms/op | 3.05 |
shuffle list - 16384 els | 18.056 ms/op | 1.5060 ms/op | 11.99 |
shuffle list - 250000 els | 258.81 ms/op | 21.502 ms/op | 12.04 |
Full benchmark results
Benchmark suite | Current: 9aff2b5 | Previous: 05e8265 | Ratio |
---|---|---|---|
getCommitteeAssignments - req 1000 vs - 250000 vc | 9.2060 ms/op | 7.8467 ms/op | 1.17 |
epoch altair - 250000 vs - 7PWei - processInactivityUpdates | 3.0701 s/op | 2.2111 s/op | 1.39 |
epoch altair - 250000 vs - 7PWei - processRewardsAndPenalties | 1.2022 s/op | 883.38 ms/op | 1.36 |
epoch altair - 250000 vs - 7PWei - processParticipationFlagUpdates | 485.37 ms/op | 353.07 ms/op | 1.37 |
Process block - 250000 vs - 7PWei - with 0 validator exit | 6.2960 ms/op | 354.94 us/op | 17.74 |
Process block - 250000 vs - 7PWei - with 1 validator exit | 33.336 ms/op | 32.650 ms/op | 1.02 |
Process block - 250000 vs - 7PWei - with 16 validator exits | 44.365 ms/op | 26.815 ms/op | 1.65 |
epoch phase0 - 250000 vs - 7PWei - beforeProcessEpoch | 1.9365 s/op | 634.02 ms/op | 3.05 |
epoch phase0 - 250000 vs - 7PWei - processRewardsAndPenalties | 976.70 ms/op | 458.47 ms/op | 2.13 |
epoch phase0 - 250000 vs - 7PWei - processEffectiveBalanceUpdates | 139.00 ms/op | 109.10 ms/op | 1.27 |
getAttestationDeltas - 250000 vs - 7PWei | 134.06 ms/op | 92.590 ms/op | 1.45 |
processSlots - 250000 vs - 7PWei - 32 empty slots | 3.6392 s/op | 4.5431 s/op | 0.80 |
shuffle list - 16384 els | 18.056 ms/op | 1.5060 ms/op | 11.99 |
shuffle list - 250000 els | 258.81 ms/op | 21.502 ms/op | 12.04 |
getPubkeys - persistent - req 1000 vs - 250000 vc | 20.877 us/op | 15.169 us/op | 1.38 |
BLS verify - blst-native | 2.3536 ms/op | 1.6439 ms/op | 1.43 |
BLS verifyMultipleSignatures 3 - blst-native | 4.8998 ms/op | 3.3547 ms/op | 1.46 |
BLS verifyMultipleSignatures 8 - blst-native | 10.557 ms/op | 7.2510 ms/op | 1.46 |
BLS verifyMultipleSignatures 32 - blst-native | 41.545 ms/op | 28.700 ms/op | 1.45 |
BLS aggregatePubkeys 32 - blst-native | 51.873 us/op | 35.819 us/op | 1.45 |
BLS aggregatePubkeys 128 - blst-native | 202.75 us/op | 137.18 us/op | 1.48 |
getAttestationsForBlock | 95.326 ms/op | 86.567 ms/op | 1.10 |
validate gossip signedAggregateAndProof - struct | 5.9011 ms/op | 5.3061 ms/op | 1.11 |
validate gossip signedAggregateAndProof - treeBacked | 5.7736 ms/op | 4.0418 ms/op | 1.43 |
validate gossip attestation - struct | 2.6591 ms/op | 1.8708 ms/op | 1.42 |
validate gossip attestation - treeBacked | 2.6945 ms/op | 1.9100 ms/op | 1.41 |
by benchmarkbot/action
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.
Motivation
Some tests need to recreate mainnet conditions and so need the mainnet preset. The minimal preset was being applied because lodestar test setup.ts was initializing both BLS and the preset.
Description
Split lodestar test initialization. Initialize BLS and preset on regular tests, initialize BLS only in perf tests