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

Add N={20,40,80} wallet restore benchmarks #2260

Merged
merged 1 commit into from
Oct 23, 2020

Conversation

Anviking
Copy link
Member

@Anviking Anviking commented Oct 21, 2020

Issue Number

ADP-469

Overview

  • Add N={20,40,80} wallet restore benchmarks, to have more data points to see if it is linear or not.

Comments

Buildkite nightly build: https://buildkite.com/input-output-hk/cardano-wallet-nightly/builds/685

To more easily see if the restoration times increase linearly with N.
@Anviking Anviking self-assigned this Oct 21, 2020
@@ -287,6 +287,9 @@ cardanoRestoreBench tr c socketFile = do
-- to-100% time.
benchRestoreMultipleWallets 1 (unsafeMkPercentage 0.1)
, benchRestoreMultipleWallets 10 (unsafeMkPercentage 0.01)
, benchRestoreMultipleWallets 20 (unsafeMkPercentage 0.01)
, benchRestoreMultipleWallets 40 (unsafeMkPercentage 0.01)
, benchRestoreMultipleWallets 80 (unsafeMkPercentage 0.01)
, benchRestoreMultipleWallets 100 (unsafeMkPercentage 0.01)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about removing 100, so we keep a nice x2 factor between each bench.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or make it 160? 😸 (Perhaps that would be too long.)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By keeping 100 we can still reason about 1 vs 10 vs 100.

@Anviking
Copy link
Member Author

bors r+

@iohk-bors
Copy link
Contributor

iohk-bors bot commented Oct 23, 2020

👎 Rejected by too few approved reviews

@Anviking Anviking marked this pull request as ready for review October 23, 2020 11:08
@Anviking
Copy link
Member Author

Anviking commented Oct 23, 2020

(ty!)
bors r+

iohk-bors bot added a commit that referenced this pull request Oct 23, 2020
2260: Add N={20,40,80} wallet restore benchmarks r=Anviking a=Anviking

# Issue Number

ADP-469

# Overview

- Add N={20,40,80} wallet restore benchmarks, to have more data points to see if it is linear or not.

# Comments

Buildkite nightly build: https://buildkite.com/input-output-hk/cardano-wallet-nightly/builds/685

<!-- Additional comments or screenshots to attach if any -->

<!-- 
Don't forget to:

 ✓ Self-review your changes to make sure nothing unexpected slipped through
 ✓ Assign yourself to the PR
 ✓ Assign one or several reviewer(s)
 ✓ Once created, link this PR to its corresponding ticket
 ✓ Assign the PR to a corresponding milestone
 ✓ Acknowledge any changes required to the Wiki
-->


Co-authored-by: Johannes Lund <[email protected]>
@Anviking
Copy link
Member Author

Plot + regression with some recent data from CI:
Skärmavbild 2020-10-23 kl  14 22 56

@iohk-bors
Copy link
Contributor

iohk-bors bot commented Oct 23, 2020

Timed out.

#2279

@Anviking
Copy link
Member Author

bors r+

iohk-bors bot added a commit that referenced this pull request Oct 23, 2020
2260: Add N={20,40,80} wallet restore benchmarks r=Anviking a=Anviking

# Issue Number

ADP-469

# Overview

- Add N={20,40,80} wallet restore benchmarks, to have more data points to see if it is linear or not.

# Comments

Buildkite nightly build: https://buildkite.com/input-output-hk/cardano-wallet-nightly/builds/685

<!-- Additional comments or screenshots to attach if any -->

<!-- 
Don't forget to:

 ✓ Self-review your changes to make sure nothing unexpected slipped through
 ✓ Assign yourself to the PR
 ✓ Assign one or several reviewer(s)
 ✓ Once created, link this PR to its corresponding ticket
 ✓ Assign the PR to a corresponding milestone
 ✓ Acknowledge any changes required to the Wiki
-->


Co-authored-by: Johannes Lund <[email protected]>
@iohk-bors
Copy link
Contributor

iohk-bors bot commented Oct 23, 2020

Timed out.

#2279

@Anviking
Copy link
Member Author

bors r+

@iohk-bors
Copy link
Contributor

iohk-bors bot commented Oct 23, 2020

Build succeeded:

@iohk-bors iohk-bors bot merged commit c8bcc59 into master Oct 23, 2020
@iohk-bors iohk-bors bot deleted the anviking/ADP-469/more-multi-wallets branch October 23, 2020 22:06
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.

4 participants