-
Notifications
You must be signed in to change notification settings - Fork 213
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
Creating an address takes a massive amount of time on large wallets #2051
Comments
Even on a rather "small" wallet, importing 10K addresses took 5s, and then, importing a new address took more than 10minute. So there's something quite fishy. |
On different runs, it seems like the behaviour is not entirely consistent. Somehow, the stake pool restoration worker also seem to have an impact when creating addresses. Once the wallet is fully synced and done fetching metadata, it seems like creating new addresses is done in a decent amount of time. I have however been very inconsistent in my testing here so I am planning to extend the nightly restoration benchmark to see how this actually performs there. |
2112: simplify implementation of 'estimateMaxNumberOfInputs' & increase coverage r=KtorZ a=KtorZ # Issue Number <!-- Put here a reference to the issue this PR relates to and which requirements it tackles --> #2051 # Overview <!-- Detail in a few bullet points the work accomplished in this PR --> - I've added scenarios for Byron and Icarus keys - I've added a 'within' clause to some scenarios in order to make sure that the properties are executed within a reasonable time. # Comments <!-- Additional comments or screenshots to attach if any --> This didn't really improve execution time significantly, but it is still useful to keep. <!-- 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: KtorZ <matthias.benkort@gmail.com>
2112: simplify implementation of 'estimateMaxNumberOfInputs' & increase coverage r=KtorZ a=KtorZ # Issue Number <!-- Put here a reference to the issue this PR relates to and which requirements it tackles --> #2051 # Overview <!-- Detail in a few bullet points the work accomplished in this PR --> - I've added scenarios for Byron and Icarus keys - I've added a 'within' clause to some scenarios in order to make sure that the properties are executed within a reasonable time. # Comments <!-- Additional comments or screenshots to attach if any --> This didn't really improve execution time significantly, but it is still useful to keep. <!-- 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: KtorZ <matthias.benkort@gmail.com>
2112: simplify implementation of 'estimateMaxNumberOfInputs' & increase coverage r=KtorZ a=KtorZ # Issue Number <!-- Put here a reference to the issue this PR relates to and which requirements it tackles --> #2051 # Overview <!-- Detail in a few bullet points the work accomplished in this PR --> - I've added scenarios for Byron and Icarus keys - I've added a 'within' clause to some scenarios in order to make sure that the properties are executed within a reasonable time. # Comments <!-- Additional comments or screenshots to attach if any --> This didn't really improve execution time significantly, but it is still useful to keep. <!-- 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: KtorZ <matthias.benkort@gmail.com>
2112: simplify implementation of 'estimateMaxNumberOfInputs' & increase coverage r=KtorZ a=KtorZ # Issue Number <!-- Put here a reference to the issue this PR relates to and which requirements it tackles --> #2051 # Overview <!-- Detail in a few bullet points the work accomplished in this PR --> - I've added scenarios for Byron and Icarus keys - I've added a 'within' clause to some scenarios in order to make sure that the properties are executed within a reasonable time. # Comments <!-- Additional comments or screenshots to attach if any --> This didn't really improve execution time significantly, but it is still useful to keep. <!-- 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: KtorZ <matthias.benkort@gmail.com>
lgtm |
Context
Steps to Reproduce
/byron-wallets/addresses
endpointExpected behavior
Actual behavior
Resolution
scanl
used in the handler.QA
Note: many = 1000
The text was updated successfully, but these errors were encountered: