-
Notifications
You must be signed in to change notification settings - Fork 217
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
Estimate fee Api endpoint response taking ~10 seconds #1825
Comments
I did some more testing - even estimating transaction fees on a completely empty wallet is slow! (it takes 10 seconds to say there is not enough ada)
Logs timing the fee estimation:
|
1834: Make shelley fee estimation faster r=rvl a=rvl Relates to #1825. ### Overview This removes the crypto signature operations from the function which calculates a transaction's size. It reduces fee estimation (x100 runs) time from 7.98s to 1.66s. Co-authored-by: Rodney Lorrimar <[email protected]>
1834: Make shelley fee estimation faster r=rvl a=rvl Relates to #1825. ### Overview This removes the crypto signature operations from the function which calculates a transaction's size. It reduces fee estimation (x100 runs) time from 7.98s to 1.66s. Co-authored-by: Rodney Lorrimar <[email protected]>
Manually testing on shelley testnet it takes ~1-2 seconds for fees to be returned. |
LGTM. Latency benchmarks for shelley, which were sort of introduced along with the fix, are still to be merged. |
1829: Begin porting latency benchmark to shelley r=piotr-iohk a=rvl Relates to #1825 # Overview These refactors are the start of porting the latency bench from the byron backend to the shelley backend. The measurement and reporting code is split into a separate module. The bench scenario functions are reworked so that swapping backend will be easier. Co-authored-by: Rodney Lorrimar <[email protected]>
1845: Add latency benchmark for shelley r=rvl a=rvl Relates to #1825. ### Overview - Ports latency benchmarks to shelley backend. - Refactors duplicate code into a shared module. - Adds listStakePools to benchmarks Co-authored-by: Rodney Lorrimar <[email protected]> Co-authored-by: Piotr Stachyra <[email protected]>
1845: Add latency benchmark for shelley r=rvl a=rvl Relates to #1825. ### Overview - Ports latency benchmarks to shelley backend. - Refactors duplicate code into a shared module. - Adds listStakePools to benchmarks 1899: Enable `STAKE_POOLS_LIST` tests to run in isolation. r=jonathanknowles a=jonathanknowles # Issue Number #1819 # Overview The very first test in the `STAKE_POOLS_LIST_01` series has implicit dependency on time. If run _too soon_ (as is the case if the test is run in isolation), such that the wallet has not yet had a chance to catch up with tip, then the wallet API will return an empty list, which will cause a test failure. To fix this, this PR nests the test inside an `eventually` combinator, which allows the test to be run in isolation (just like the others in the `STAKE_POOLS_LIST_01` series). Additional changes: - [x] Fixes some spelling errors. - [x] Reformatting to comply with our coding standards. Co-authored-by: Rodney Lorrimar <[email protected]> Co-authored-by: Piotr Stachyra <[email protected]> Co-authored-by: Jonathan Knowles <[email protected]>
1845: Add latency benchmark for shelley r=rvl a=rvl Relates to #1825. ### Overview - Ports latency benchmarks to shelley backend. - Refactors duplicate code into a shared module. - Adds listStakePools to benchmarks Co-authored-by: Rodney Lorrimar <[email protected]> Co-authored-by: Piotr Stachyra <[email protected]>
1845: Add latency benchmark for shelley r=rvl a=rvl Relates to #1825. ### Overview - Ports latency benchmarks to shelley backend. - Refactors duplicate code into a shared module. - Adds listStakePools to benchmarks Co-authored-by: Rodney Lorrimar <[email protected]> Co-authored-by: Piotr Stachyra <[email protected]>
1845: Add latency benchmark for shelley r=rvl a=rvl Relates to #1825. ### Overview - Ports latency benchmarks to shelley backend. - Refactors duplicate code into a shared module. - Adds listStakePools to benchmarks Co-authored-by: Rodney Lorrimar <[email protected]> Co-authored-by: Piotr Stachyra <[email protected]>
#1569
Context
There is a regression in the performance of the "Estimate fee" Api endpoint (https://input-output-hk.github.io/cardano-wallet/api/edge/#operation/postTransactionFee) for which the response time has been increased from ~100 milliseconds to ~10 seconds. This happens regardless of the wallet's UTXO fragmentation (it is the same for wallets with a single UTXO as for the ones with >100 UTXOs) and is reproducible every time.
Please note that there is no impact on the "Delegation fee estimation" Api endpoint (https://input-output-hk.github.io/cardano-wallet/api/edge/#operation/getDelegationFee) which has almost instant response...
Logs: logs.zip
Steps to Reproduce
Expected behavior
Fees should be visible almost instantly.
Actual behavior
Fees are visible only after ~10 seconds.
Resolution
QA
The text was updated successfully, but these errors were encountered: