-
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
Enable 100 wallet scenario in latency benchmark #2223
Conversation
{-- PENDING: We currently have a limited amount of available fixture | ||
wallets, so we can't just run a benchmark with 100 wallets in parallel. | ||
fmtTitle "Latencies for 100 fixture wallets scenario" | ||
fmtTitle "Latencies for 100 fixture wallets" | ||
runScenario (nFixtureWallet 100) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems a bit low:
Latencies for 100 fixture wallets
listWallets - 59.9 ms
getWallet - 0.5 ms
getUTxOsStatistics - 0.4 ms
listAddresses - 1.2 ms
listTransactions - 2.6 ms
postTransactionFee - 139.2 ms
listStakePools - 1.1 ms
getNetworkInfo - 0.0 ms
I wondered if ensuring the wallets were actively restoring (by replacing fixtureWallet
with emptyWallet
, which doesn't wait for funds to be available, so should be quicker), and it did get a bit slower:
Latencies for 100 fixture wallets
listWallets - 71.0 ms
getWallet - 0.5 ms
getUTxOsStatistics - 0.4 ms
listAddresses - 0.7 ms
listTransactions - 0.1 ms
postTransactionFee - 263.6 ms
listStakePools - 1.3 ms
getNetworkInfo - 0.1 ms
I want to test on mainnet though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's oddly long, especially for wallets that are empty. If you want to spend some time investigating this, please do. Don't spend too much time on this however (max 1 day). It you can't find anything conclusive, then we'll allocate some extra time where finding the root cause and fixing it will be the actual task / goal.
2173466
to
02eecf3
Compare
{-- PENDING: We currently have a limited amount of available fixture | ||
wallets, so we can't just run a benchmark with 100 wallets in parallel. | ||
fmtTitle "Latencies for 100 fixture wallets scenario" | ||
fmtTitle "Latencies for 100 fixture wallets" | ||
runScenario (nFixtureWallet 100) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The benchmark took 8 minutes for me to run. When we create 100 wallets we repeatedly run postWallet >> waitForFunds
, instead of first running all postWallet
and then waiting for all wallets to have balance concurrently.
Changing to the latter approach would probably speed it up a bit, but I'm not sure how important it is that we do.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
would be worth always to trigger benchmark in CI (besides local trigger) and show results BEFORE/AFTER
https://buildkite.com/input-output-hk/cardano-wallet-nightly
2223: Enable 100 wallet scenario in latency benchmark r=Anviking a=Anviking # Issue Number ADP-469, ADP-473 # Overview - [x] Simply enable `Latencies for 100 fixture wallets` - [x] Delete all wallets in between all latency scenarios - [x] Rename DSL helper `tearDown` to `deleteAllWallets`, and re-use it more # Comments ``` $ stack bench cardano-wallet Benchmark latency: RUNNING... Non-cached run getNetworkInfo - 20.7 ms Latencies for 2 fixture wallets scenario listWallets - 1.4 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 2.2 ms postTransactionFee - 86.4 ms listStakePools - 1.2 ms getNetworkInfo - 0.0 ms Latencies for 10 fixture wallets scenario listWallets - 4.8 ms getWallet - 0.4 ms getUTxOsStatistics - 0.3 ms listAddresses - 0.9 ms listTransactions - 2.0 ms postTransactionFee - 93.2 ms listStakePools - 1.3 ms getNetworkInfo - 0.0 ms Latencies for 100 fixture wallets listWallets - 59.9 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.2 ms listTransactions - 2.6 ms postTransactionFee - 139.2 ms listStakePools - 1.1 ms getNetworkInfo - 0.0 ms Latencies for 2 fixture wallets with 10 txs scenario listWallets - 1.1 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 0.9 ms listTransactions - 3.8 ms postTransactionFee - 104.2 ms listStakePools - 1.3 ms getNetworkInfo - 0.1 ms Latencies for 2 fixture wallets with 20 txs scenario listWallets - 1.1 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 5.5 ms postTransactionFee - 97.0 ms listStakePools - 1.2 ms getNetworkInfo - 0.1 ms Latencies for 2 fixture wallets with 100 txs scenario listWallets - 1.1 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 14.5 ms postTransactionFee - 95.1 ms listStakePools - 1.7 ms getNetworkInfo - 0.1 ms Latencies for 10 fixture wallets with 10 txs scenario listWallets - 4.4 ms getWallet - 0.5 ms getUTxOsStatistics - 0.3 ms listAddresses - 0.9 ms listTransactions - 4.3 ms postTransactionFee - 106.6 ms listStakePools - 1.3 ms getNetworkInfo - 0.0 ms Latencies for 10 fixture wallets with 20 txs scenario listWallets - 4.2 ms getWallet - 0.4 ms getUTxOsStatistics - 0.3 ms listAddresses - 0.9 ms listTransactions - 4.5 ms postTransactionFee - 106.6 ms listStakePools - 1.3 ms getNetworkInfo - 0.1 ms Latencies for 10 fixture wallets with 100 txs scenario listWallets - 4.5 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 0.9 ms listTransactions - 15.8 ms postTransactionFee - 96.8 ms listStakePools - 1.6 ms getNetworkInfo - 0.1 ms Latencies for 2 fixture wallets with 100 utxos scenario listWallets - 1.7 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 12.2 ms postTransactionFee - 95.9 ms listStakePools - 1.4 ms getNetworkInfo - 0.0 ms Latencies for 2 fixture wallets with 200 utxos scenario listWallets - 1.7 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 25.1 ms postTransactionFee - 96.6 ms listStakePools - 1.4 ms getNetworkInfo - 0.1 ms Latencies for 2 fixture wallets with 500 utxos scenario listWallets - 1.6 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 69.7 ms postTransactionFee - 87.9 ms listStakePools - 1.5 ms getNetworkInfo - 0.0 ms Latencies for 2 fixture wallets with 1000 utxos scenario ``` <!-- 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]>
Canceled. |
bors r+ |
2223: Enable 100 wallet scenario in latency benchmark r=Anviking a=Anviking # Issue Number ADP-469, ADP-473 # Overview - [x] Simply enable `Latencies for 100 fixture wallets` - [x] Delete all wallets in between all latency scenarios - [x] Rename DSL helper `tearDown` to `deleteAllWallets`, and re-use it more # Comments ``` $ stack bench cardano-wallet Benchmark latency: RUNNING... Non-cached run getNetworkInfo - 20.7 ms Latencies for 2 fixture wallets scenario listWallets - 1.4 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 2.2 ms postTransactionFee - 86.4 ms listStakePools - 1.2 ms getNetworkInfo - 0.0 ms Latencies for 10 fixture wallets scenario listWallets - 4.8 ms getWallet - 0.4 ms getUTxOsStatistics - 0.3 ms listAddresses - 0.9 ms listTransactions - 2.0 ms postTransactionFee - 93.2 ms listStakePools - 1.3 ms getNetworkInfo - 0.0 ms Latencies for 100 fixture wallets listWallets - 59.9 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.2 ms listTransactions - 2.6 ms postTransactionFee - 139.2 ms listStakePools - 1.1 ms getNetworkInfo - 0.0 ms Latencies for 2 fixture wallets with 10 txs scenario listWallets - 1.1 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 0.9 ms listTransactions - 3.8 ms postTransactionFee - 104.2 ms listStakePools - 1.3 ms getNetworkInfo - 0.1 ms Latencies for 2 fixture wallets with 20 txs scenario listWallets - 1.1 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 5.5 ms postTransactionFee - 97.0 ms listStakePools - 1.2 ms getNetworkInfo - 0.1 ms Latencies for 2 fixture wallets with 100 txs scenario listWallets - 1.1 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 14.5 ms postTransactionFee - 95.1 ms listStakePools - 1.7 ms getNetworkInfo - 0.1 ms Latencies for 10 fixture wallets with 10 txs scenario listWallets - 4.4 ms getWallet - 0.5 ms getUTxOsStatistics - 0.3 ms listAddresses - 0.9 ms listTransactions - 4.3 ms postTransactionFee - 106.6 ms listStakePools - 1.3 ms getNetworkInfo - 0.0 ms Latencies for 10 fixture wallets with 20 txs scenario listWallets - 4.2 ms getWallet - 0.4 ms getUTxOsStatistics - 0.3 ms listAddresses - 0.9 ms listTransactions - 4.5 ms postTransactionFee - 106.6 ms listStakePools - 1.3 ms getNetworkInfo - 0.1 ms Latencies for 10 fixture wallets with 100 txs scenario listWallets - 4.5 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 0.9 ms listTransactions - 15.8 ms postTransactionFee - 96.8 ms listStakePools - 1.6 ms getNetworkInfo - 0.1 ms Latencies for 2 fixture wallets with 100 utxos scenario listWallets - 1.7 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 12.2 ms postTransactionFee - 95.9 ms listStakePools - 1.4 ms getNetworkInfo - 0.0 ms Latencies for 2 fixture wallets with 200 utxos scenario listWallets - 1.7 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 25.1 ms postTransactionFee - 96.6 ms listStakePools - 1.4 ms getNetworkInfo - 0.1 ms Latencies for 2 fixture wallets with 500 utxos scenario listWallets - 1.6 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 69.7 ms postTransactionFee - 87.9 ms listStakePools - 1.5 ms getNetworkInfo - 0.0 ms Latencies for 2 fixture wallets with 1000 utxos scenario ``` <!-- 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]>
Build failed:
|
bors r+ |
2223: Enable 100 wallet scenario in latency benchmark r=Anviking a=Anviking # Issue Number ADP-469, ADP-473 # Overview - [x] Simply enable `Latencies for 100 fixture wallets` - [x] Delete all wallets in between all latency scenarios - [x] Rename DSL helper `tearDown` to `deleteAllWallets`, and re-use it more # Comments ``` $ stack bench cardano-wallet Benchmark latency: RUNNING... Non-cached run getNetworkInfo - 20.7 ms Latencies for 2 fixture wallets scenario listWallets - 1.4 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 2.2 ms postTransactionFee - 86.4 ms listStakePools - 1.2 ms getNetworkInfo - 0.0 ms Latencies for 10 fixture wallets scenario listWallets - 4.8 ms getWallet - 0.4 ms getUTxOsStatistics - 0.3 ms listAddresses - 0.9 ms listTransactions - 2.0 ms postTransactionFee - 93.2 ms listStakePools - 1.3 ms getNetworkInfo - 0.0 ms Latencies for 100 fixture wallets listWallets - 59.9 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.2 ms listTransactions - 2.6 ms postTransactionFee - 139.2 ms listStakePools - 1.1 ms getNetworkInfo - 0.0 ms Latencies for 2 fixture wallets with 10 txs scenario listWallets - 1.1 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 0.9 ms listTransactions - 3.8 ms postTransactionFee - 104.2 ms listStakePools - 1.3 ms getNetworkInfo - 0.1 ms Latencies for 2 fixture wallets with 20 txs scenario listWallets - 1.1 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 5.5 ms postTransactionFee - 97.0 ms listStakePools - 1.2 ms getNetworkInfo - 0.1 ms Latencies for 2 fixture wallets with 100 txs scenario listWallets - 1.1 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 14.5 ms postTransactionFee - 95.1 ms listStakePools - 1.7 ms getNetworkInfo - 0.1 ms Latencies for 10 fixture wallets with 10 txs scenario listWallets - 4.4 ms getWallet - 0.5 ms getUTxOsStatistics - 0.3 ms listAddresses - 0.9 ms listTransactions - 4.3 ms postTransactionFee - 106.6 ms listStakePools - 1.3 ms getNetworkInfo - 0.0 ms Latencies for 10 fixture wallets with 20 txs scenario listWallets - 4.2 ms getWallet - 0.4 ms getUTxOsStatistics - 0.3 ms listAddresses - 0.9 ms listTransactions - 4.5 ms postTransactionFee - 106.6 ms listStakePools - 1.3 ms getNetworkInfo - 0.1 ms Latencies for 10 fixture wallets with 100 txs scenario listWallets - 4.5 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 0.9 ms listTransactions - 15.8 ms postTransactionFee - 96.8 ms listStakePools - 1.6 ms getNetworkInfo - 0.1 ms Latencies for 2 fixture wallets with 100 utxos scenario listWallets - 1.7 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 12.2 ms postTransactionFee - 95.9 ms listStakePools - 1.4 ms getNetworkInfo - 0.0 ms Latencies for 2 fixture wallets with 200 utxos scenario listWallets - 1.7 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 25.1 ms postTransactionFee - 96.6 ms listStakePools - 1.4 ms getNetworkInfo - 0.1 ms Latencies for 2 fixture wallets with 500 utxos scenario listWallets - 1.6 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 69.7 ms postTransactionFee - 87.9 ms listStakePools - 1.5 ms getNetworkInfo - 0.0 ms Latencies for 2 fixture wallets with 1000 utxos scenario ``` <!-- 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]>
Build failed:
|
bors r+ |
2124: Add haskell program coverage reports to Hydra tests r=rvl a=rvl ### Issue Number ADP-99 ### Overview This is a bit of an assortment of nix build improvements. 1. Add a code test coverage report for the Hydra build - implemented by PR input-output-hk/haskell.nix#762 2. Add a nix-shell with profiled packages. Profiled packages will be built on Hydra for master branch but not PRs. This means you can download haskell dependencies with profiling enabled, rather than having to build everything yourself. 3. Update versions of build tools in the nix-shell to latest hackage release - ghcide, hlint and stylish-haskell updated. ### Comments - [Hydra jobset](https://hydra.iohk.io/jobset/Cardano/cardano-wallet-pr-2124) - [Coverage report job](https://hydra.iohk.io/job/Cardano/cardano-wallet-pr-2124/musl64.testCoverageReport.x86_64-linux/latest) - [Coverage report from bors try](https://hydra.iohk.io/build/4328848/download/2/hpc_index.html) <details> <summary>Stack coverage report for comparison</summary> #### Command ``` stack build --coverage --fast --test --skip integration --skip jormungandr-integration ``` #### Result: ``` ... Generating unified report 26% expressions used (26186/98111) 44% boolean coverage (136/305) 42% guards (102/240), 72 always True, 7 always False, 59 unevaluated 52% 'if' conditions (33/63), 4 always True, 8 always False, 18 unevaluated 50% qualifiers (1/2), 1 always True 40% alternatives used (849/2108) 58% local declarations used (859/1456) 50% top-level declarations used (1769/3533) The unified report is available at /home/rodney/iohk/cardano-wallet/.stack-work/install/x86_64-linux/2cecc28bf3aab8c8c3e4a07c1c6c1c846ec8861df3d8a5e9247bce185aeb7542/8.6.5/hpc/combined/all/hpc_index.html An index of the generated HTML coverage reports is available at /home/rodney/iohk/cardano-wallet/.stack-work/install/x86_64-linux/2cecc28bf3aab8c8c3e4a07c1c6c1c846ec8861df3d8a5e9247bce185aeb7542/8.6.5/hpc/index.html -- While building package cardano-wallet-2020.9.30 using: /home/rodney/.stack/setup-exe-cache/x86_64-linux/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5 --builddir=.stack-work/dist/x86_64-linux/Cabal-2.4.0.1 build lib:cardano-wallet exe:cardano-wallet test:unit --ghc-options "-hpcdir .stack-work/dist/x86_64-linux/Cabal-2.4.0.1/hpc -fdiagnostics-color=always" Process exited with code: ExitFailure 1 Progress 335/336 ``` </details> 2223: Enable 100 wallet scenario in latency benchmark r=Anviking a=Anviking # Issue Number ADP-469, ADP-473 # Overview - [x] Simply enable `Latencies for 100 fixture wallets` - [x] Delete all wallets in between all latency scenarios - [x] Rename DSL helper `tearDown` to `deleteAllWallets`, and re-use it more # Comments ``` $ stack bench cardano-wallet Benchmark latency: RUNNING... Non-cached run getNetworkInfo - 20.7 ms Latencies for 2 fixture wallets scenario listWallets - 1.4 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 2.2 ms postTransactionFee - 86.4 ms listStakePools - 1.2 ms getNetworkInfo - 0.0 ms Latencies for 10 fixture wallets scenario listWallets - 4.8 ms getWallet - 0.4 ms getUTxOsStatistics - 0.3 ms listAddresses - 0.9 ms listTransactions - 2.0 ms postTransactionFee - 93.2 ms listStakePools - 1.3 ms getNetworkInfo - 0.0 ms Latencies for 100 fixture wallets listWallets - 59.9 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.2 ms listTransactions - 2.6 ms postTransactionFee - 139.2 ms listStakePools - 1.1 ms getNetworkInfo - 0.0 ms Latencies for 2 fixture wallets with 10 txs scenario listWallets - 1.1 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 0.9 ms listTransactions - 3.8 ms postTransactionFee - 104.2 ms listStakePools - 1.3 ms getNetworkInfo - 0.1 ms Latencies for 2 fixture wallets with 20 txs scenario listWallets - 1.1 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 5.5 ms postTransactionFee - 97.0 ms listStakePools - 1.2 ms getNetworkInfo - 0.1 ms Latencies for 2 fixture wallets with 100 txs scenario listWallets - 1.1 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 14.5 ms postTransactionFee - 95.1 ms listStakePools - 1.7 ms getNetworkInfo - 0.1 ms Latencies for 10 fixture wallets with 10 txs scenario listWallets - 4.4 ms getWallet - 0.5 ms getUTxOsStatistics - 0.3 ms listAddresses - 0.9 ms listTransactions - 4.3 ms postTransactionFee - 106.6 ms listStakePools - 1.3 ms getNetworkInfo - 0.0 ms Latencies for 10 fixture wallets with 20 txs scenario listWallets - 4.2 ms getWallet - 0.4 ms getUTxOsStatistics - 0.3 ms listAddresses - 0.9 ms listTransactions - 4.5 ms postTransactionFee - 106.6 ms listStakePools - 1.3 ms getNetworkInfo - 0.1 ms Latencies for 10 fixture wallets with 100 txs scenario listWallets - 4.5 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 0.9 ms listTransactions - 15.8 ms postTransactionFee - 96.8 ms listStakePools - 1.6 ms getNetworkInfo - 0.1 ms Latencies for 2 fixture wallets with 100 utxos scenario listWallets - 1.7 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 12.2 ms postTransactionFee - 95.9 ms listStakePools - 1.4 ms getNetworkInfo - 0.0 ms Latencies for 2 fixture wallets with 200 utxos scenario listWallets - 1.7 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 25.1 ms postTransactionFee - 96.6 ms listStakePools - 1.4 ms getNetworkInfo - 0.1 ms Latencies for 2 fixture wallets with 500 utxos scenario listWallets - 1.6 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 69.7 ms postTransactionFee - 87.9 ms listStakePools - 1.5 ms getNetworkInfo - 0.0 ms Latencies for 2 fixture wallets with 1000 utxos scenario ``` <!-- 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: Rodney Lorrimar <[email protected]> Co-authored-by: Samuel Evans-Powell <[email protected]> Co-authored-by: Johannes Lund <[email protected]>
Build failed (retrying...):
|
2223: Enable 100 wallet scenario in latency benchmark r=Anviking a=Anviking # Issue Number ADP-469, ADP-473 # Overview - [x] Simply enable `Latencies for 100 fixture wallets` - [x] Delete all wallets in between all latency scenarios - [x] Rename DSL helper `tearDown` to `deleteAllWallets`, and re-use it more # Comments ``` $ stack bench cardano-wallet Benchmark latency: RUNNING... Non-cached run getNetworkInfo - 20.7 ms Latencies for 2 fixture wallets scenario listWallets - 1.4 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 2.2 ms postTransactionFee - 86.4 ms listStakePools - 1.2 ms getNetworkInfo - 0.0 ms Latencies for 10 fixture wallets scenario listWallets - 4.8 ms getWallet - 0.4 ms getUTxOsStatistics - 0.3 ms listAddresses - 0.9 ms listTransactions - 2.0 ms postTransactionFee - 93.2 ms listStakePools - 1.3 ms getNetworkInfo - 0.0 ms Latencies for 100 fixture wallets listWallets - 59.9 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.2 ms listTransactions - 2.6 ms postTransactionFee - 139.2 ms listStakePools - 1.1 ms getNetworkInfo - 0.0 ms Latencies for 2 fixture wallets with 10 txs scenario listWallets - 1.1 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 0.9 ms listTransactions - 3.8 ms postTransactionFee - 104.2 ms listStakePools - 1.3 ms getNetworkInfo - 0.1 ms Latencies for 2 fixture wallets with 20 txs scenario listWallets - 1.1 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 5.5 ms postTransactionFee - 97.0 ms listStakePools - 1.2 ms getNetworkInfo - 0.1 ms Latencies for 2 fixture wallets with 100 txs scenario listWallets - 1.1 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 14.5 ms postTransactionFee - 95.1 ms listStakePools - 1.7 ms getNetworkInfo - 0.1 ms Latencies for 10 fixture wallets with 10 txs scenario listWallets - 4.4 ms getWallet - 0.5 ms getUTxOsStatistics - 0.3 ms listAddresses - 0.9 ms listTransactions - 4.3 ms postTransactionFee - 106.6 ms listStakePools - 1.3 ms getNetworkInfo - 0.0 ms Latencies for 10 fixture wallets with 20 txs scenario listWallets - 4.2 ms getWallet - 0.4 ms getUTxOsStatistics - 0.3 ms listAddresses - 0.9 ms listTransactions - 4.5 ms postTransactionFee - 106.6 ms listStakePools - 1.3 ms getNetworkInfo - 0.1 ms Latencies for 10 fixture wallets with 100 txs scenario listWallets - 4.5 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 0.9 ms listTransactions - 15.8 ms postTransactionFee - 96.8 ms listStakePools - 1.6 ms getNetworkInfo - 0.1 ms Latencies for 2 fixture wallets with 100 utxos scenario listWallets - 1.7 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 12.2 ms postTransactionFee - 95.9 ms listStakePools - 1.4 ms getNetworkInfo - 0.0 ms Latencies for 2 fixture wallets with 200 utxos scenario listWallets - 1.7 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 25.1 ms postTransactionFee - 96.6 ms listStakePools - 1.4 ms getNetworkInfo - 0.1 ms Latencies for 2 fixture wallets with 500 utxos scenario listWallets - 1.6 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 69.7 ms postTransactionFee - 87.9 ms listStakePools - 1.5 ms getNetworkInfo - 0.0 ms Latencies for 2 fixture wallets with 1000 utxos scenario ``` <!-- 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]>
Timed out. It says timed out, but there were also a bunch of hydra errors I think:
Looks like |
bors r+ |
2219: Return derivation path when answering `isOurs` r=KtorZ a=KtorZ # Issue Number <!-- Put here a reference to the issue this PR relates to and which requirements it tackles --> #2176 # Overview <!-- Detail in a few bullet points the work accomplished in this PR --> - 6c3aaea 📍 **change derivation path JSON serialization to be less verbose** And also aligned with other interfaces like cardano-addresses. - 1bba794 📍 **change 'isOurs' to return a derivation path instead of a boolean** This can then be used to figure out what are the derivation path of a bunch of addresses when returning raw coin-selections. Note that this commit builds but is so-to-speak unsound. We need to find a way to feed the purpose, coin type and account index down to the 'isOurs' function. The most logical place to do this is as part of the state. We can't use arbitrary constant here because both Icarus and Shelley use a SeqState, but have different purpose indexes. - 4b116de 📍 **store seq-state derivation prefix in the database.** That prefixes tells us which account corresponds to which state and also, which purpose so can distinguish between Icarus and Shelley wallets. This will require a database migration which I'll add in a later commit. - 185d8fb 📍 **define manual migrations for seq-state with regards to the derivation prefix** I've generated databases for Icarus and Shelley wallets from the latest master and, in a test now trying to open these database and observe that a) it is possible, b) there's a log line indicating that a migration has happened, c) the resulting prefix in each database is exactly what we expect it to be. # Comments <!-- 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 --> 2223: Enable 100 wallet scenario in latency benchmark r=Anviking a=Anviking # Issue Number ADP-469, ADP-473 # Overview - [x] Simply enable `Latencies for 100 fixture wallets` - [x] Delete all wallets in between all latency scenarios - [x] Rename DSL helper `tearDown` to `deleteAllWallets`, and re-use it more # Comments ``` $ stack bench cardano-wallet Benchmark latency: RUNNING... Non-cached run getNetworkInfo - 20.7 ms Latencies for 2 fixture wallets scenario listWallets - 1.4 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 2.2 ms postTransactionFee - 86.4 ms listStakePools - 1.2 ms getNetworkInfo - 0.0 ms Latencies for 10 fixture wallets scenario listWallets - 4.8 ms getWallet - 0.4 ms getUTxOsStatistics - 0.3 ms listAddresses - 0.9 ms listTransactions - 2.0 ms postTransactionFee - 93.2 ms listStakePools - 1.3 ms getNetworkInfo - 0.0 ms Latencies for 100 fixture wallets listWallets - 59.9 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.2 ms listTransactions - 2.6 ms postTransactionFee - 139.2 ms listStakePools - 1.1 ms getNetworkInfo - 0.0 ms Latencies for 2 fixture wallets with 10 txs scenario listWallets - 1.1 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 0.9 ms listTransactions - 3.8 ms postTransactionFee - 104.2 ms listStakePools - 1.3 ms getNetworkInfo - 0.1 ms Latencies for 2 fixture wallets with 20 txs scenario listWallets - 1.1 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 5.5 ms postTransactionFee - 97.0 ms listStakePools - 1.2 ms getNetworkInfo - 0.1 ms Latencies for 2 fixture wallets with 100 txs scenario listWallets - 1.1 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 14.5 ms postTransactionFee - 95.1 ms listStakePools - 1.7 ms getNetworkInfo - 0.1 ms Latencies for 10 fixture wallets with 10 txs scenario listWallets - 4.4 ms getWallet - 0.5 ms getUTxOsStatistics - 0.3 ms listAddresses - 0.9 ms listTransactions - 4.3 ms postTransactionFee - 106.6 ms listStakePools - 1.3 ms getNetworkInfo - 0.0 ms Latencies for 10 fixture wallets with 20 txs scenario listWallets - 4.2 ms getWallet - 0.4 ms getUTxOsStatistics - 0.3 ms listAddresses - 0.9 ms listTransactions - 4.5 ms postTransactionFee - 106.6 ms listStakePools - 1.3 ms getNetworkInfo - 0.1 ms Latencies for 10 fixture wallets with 100 txs scenario listWallets - 4.5 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 0.9 ms listTransactions - 15.8 ms postTransactionFee - 96.8 ms listStakePools - 1.6 ms getNetworkInfo - 0.1 ms Latencies for 2 fixture wallets with 100 utxos scenario listWallets - 1.7 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 12.2 ms postTransactionFee - 95.9 ms listStakePools - 1.4 ms getNetworkInfo - 0.0 ms Latencies for 2 fixture wallets with 200 utxos scenario listWallets - 1.7 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 25.1 ms postTransactionFee - 96.6 ms listStakePools - 1.4 ms getNetworkInfo - 0.1 ms Latencies for 2 fixture wallets with 500 utxos scenario listWallets - 1.6 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 69.7 ms postTransactionFee - 87.9 ms listStakePools - 1.5 ms getNetworkInfo - 0.0 ms Latencies for 2 fixture wallets with 1000 utxos scenario ``` <!-- 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: KtorZ <[email protected]> Co-authored-by: Johannes Lund <[email protected]>
This PR was included in a batch that timed out, it will be automatically retried |
2223: Enable 100 wallet scenario in latency benchmark r=Anviking a=Anviking # Issue Number ADP-469, ADP-473 # Overview - [x] Simply enable `Latencies for 100 fixture wallets` - [x] Delete all wallets in between all latency scenarios - [x] Rename DSL helper `tearDown` to `deleteAllWallets`, and re-use it more # Comments ``` $ stack bench cardano-wallet Benchmark latency: RUNNING... Non-cached run getNetworkInfo - 20.7 ms Latencies for 2 fixture wallets scenario listWallets - 1.4 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 2.2 ms postTransactionFee - 86.4 ms listStakePools - 1.2 ms getNetworkInfo - 0.0 ms Latencies for 10 fixture wallets scenario listWallets - 4.8 ms getWallet - 0.4 ms getUTxOsStatistics - 0.3 ms listAddresses - 0.9 ms listTransactions - 2.0 ms postTransactionFee - 93.2 ms listStakePools - 1.3 ms getNetworkInfo - 0.0 ms Latencies for 100 fixture wallets listWallets - 59.9 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.2 ms listTransactions - 2.6 ms postTransactionFee - 139.2 ms listStakePools - 1.1 ms getNetworkInfo - 0.0 ms Latencies for 2 fixture wallets with 10 txs scenario listWallets - 1.1 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 0.9 ms listTransactions - 3.8 ms postTransactionFee - 104.2 ms listStakePools - 1.3 ms getNetworkInfo - 0.1 ms Latencies for 2 fixture wallets with 20 txs scenario listWallets - 1.1 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 5.5 ms postTransactionFee - 97.0 ms listStakePools - 1.2 ms getNetworkInfo - 0.1 ms Latencies for 2 fixture wallets with 100 txs scenario listWallets - 1.1 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 14.5 ms postTransactionFee - 95.1 ms listStakePools - 1.7 ms getNetworkInfo - 0.1 ms Latencies for 10 fixture wallets with 10 txs scenario listWallets - 4.4 ms getWallet - 0.5 ms getUTxOsStatistics - 0.3 ms listAddresses - 0.9 ms listTransactions - 4.3 ms postTransactionFee - 106.6 ms listStakePools - 1.3 ms getNetworkInfo - 0.0 ms Latencies for 10 fixture wallets with 20 txs scenario listWallets - 4.2 ms getWallet - 0.4 ms getUTxOsStatistics - 0.3 ms listAddresses - 0.9 ms listTransactions - 4.5 ms postTransactionFee - 106.6 ms listStakePools - 1.3 ms getNetworkInfo - 0.1 ms Latencies for 10 fixture wallets with 100 txs scenario listWallets - 4.5 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 0.9 ms listTransactions - 15.8 ms postTransactionFee - 96.8 ms listStakePools - 1.6 ms getNetworkInfo - 0.1 ms Latencies for 2 fixture wallets with 100 utxos scenario listWallets - 1.7 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 12.2 ms postTransactionFee - 95.9 ms listStakePools - 1.4 ms getNetworkInfo - 0.0 ms Latencies for 2 fixture wallets with 200 utxos scenario listWallets - 1.7 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 25.1 ms postTransactionFee - 96.6 ms listStakePools - 1.4 ms getNetworkInfo - 0.1 ms Latencies for 2 fixture wallets with 500 utxos scenario listWallets - 1.6 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 69.7 ms postTransactionFee - 87.9 ms listStakePools - 1.5 ms getNetworkInfo - 0.0 ms Latencies for 2 fixture wallets with 1000 utxos scenario ``` <!-- 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]>
Timed out. #duplicate |
bors r+ |
2223: Enable 100 wallet scenario in latency benchmark r=Anviking a=Anviking # Issue Number ADP-469, ADP-473 # Overview - [x] Simply enable `Latencies for 100 fixture wallets` - [x] Delete all wallets in between all latency scenarios - [x] Rename DSL helper `tearDown` to `deleteAllWallets`, and re-use it more # Comments ``` $ stack bench cardano-wallet Benchmark latency: RUNNING... Non-cached run getNetworkInfo - 20.7 ms Latencies for 2 fixture wallets scenario listWallets - 1.4 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 2.2 ms postTransactionFee - 86.4 ms listStakePools - 1.2 ms getNetworkInfo - 0.0 ms Latencies for 10 fixture wallets scenario listWallets - 4.8 ms getWallet - 0.4 ms getUTxOsStatistics - 0.3 ms listAddresses - 0.9 ms listTransactions - 2.0 ms postTransactionFee - 93.2 ms listStakePools - 1.3 ms getNetworkInfo - 0.0 ms Latencies for 100 fixture wallets listWallets - 59.9 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.2 ms listTransactions - 2.6 ms postTransactionFee - 139.2 ms listStakePools - 1.1 ms getNetworkInfo - 0.0 ms Latencies for 2 fixture wallets with 10 txs scenario listWallets - 1.1 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 0.9 ms listTransactions - 3.8 ms postTransactionFee - 104.2 ms listStakePools - 1.3 ms getNetworkInfo - 0.1 ms Latencies for 2 fixture wallets with 20 txs scenario listWallets - 1.1 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 5.5 ms postTransactionFee - 97.0 ms listStakePools - 1.2 ms getNetworkInfo - 0.1 ms Latencies for 2 fixture wallets with 100 txs scenario listWallets - 1.1 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 14.5 ms postTransactionFee - 95.1 ms listStakePools - 1.7 ms getNetworkInfo - 0.1 ms Latencies for 10 fixture wallets with 10 txs scenario listWallets - 4.4 ms getWallet - 0.5 ms getUTxOsStatistics - 0.3 ms listAddresses - 0.9 ms listTransactions - 4.3 ms postTransactionFee - 106.6 ms listStakePools - 1.3 ms getNetworkInfo - 0.0 ms Latencies for 10 fixture wallets with 20 txs scenario listWallets - 4.2 ms getWallet - 0.4 ms getUTxOsStatistics - 0.3 ms listAddresses - 0.9 ms listTransactions - 4.5 ms postTransactionFee - 106.6 ms listStakePools - 1.3 ms getNetworkInfo - 0.1 ms Latencies for 10 fixture wallets with 100 txs scenario listWallets - 4.5 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 0.9 ms listTransactions - 15.8 ms postTransactionFee - 96.8 ms listStakePools - 1.6 ms getNetworkInfo - 0.1 ms Latencies for 2 fixture wallets with 100 utxos scenario listWallets - 1.7 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 12.2 ms postTransactionFee - 95.9 ms listStakePools - 1.4 ms getNetworkInfo - 0.0 ms Latencies for 2 fixture wallets with 200 utxos scenario listWallets - 1.7 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 25.1 ms postTransactionFee - 96.6 ms listStakePools - 1.4 ms getNetworkInfo - 0.1 ms Latencies for 2 fixture wallets with 500 utxos scenario listWallets - 1.6 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 69.7 ms postTransactionFee - 87.9 ms listStakePools - 1.5 ms getNetworkInfo - 0.0 ms Latencies for 2 fixture wallets with 1000 utxos scenario ``` <!-- 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]>
Build failed: #duplicate
|
bors r+ |
2223: Enable 100 wallet scenario in latency benchmark r=Anviking a=Anviking # Issue Number ADP-469, ADP-473 # Overview - [x] Simply enable `Latencies for 100 fixture wallets` - [x] Delete all wallets in between all latency scenarios - [x] Rename DSL helper `tearDown` to `deleteAllWallets`, and re-use it more # Comments ``` $ stack bench cardano-wallet Benchmark latency: RUNNING... Non-cached run getNetworkInfo - 20.7 ms Latencies for 2 fixture wallets scenario listWallets - 1.4 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 2.2 ms postTransactionFee - 86.4 ms listStakePools - 1.2 ms getNetworkInfo - 0.0 ms Latencies for 10 fixture wallets scenario listWallets - 4.8 ms getWallet - 0.4 ms getUTxOsStatistics - 0.3 ms listAddresses - 0.9 ms listTransactions - 2.0 ms postTransactionFee - 93.2 ms listStakePools - 1.3 ms getNetworkInfo - 0.0 ms Latencies for 100 fixture wallets listWallets - 59.9 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.2 ms listTransactions - 2.6 ms postTransactionFee - 139.2 ms listStakePools - 1.1 ms getNetworkInfo - 0.0 ms Latencies for 2 fixture wallets with 10 txs scenario listWallets - 1.1 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 0.9 ms listTransactions - 3.8 ms postTransactionFee - 104.2 ms listStakePools - 1.3 ms getNetworkInfo - 0.1 ms Latencies for 2 fixture wallets with 20 txs scenario listWallets - 1.1 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 5.5 ms postTransactionFee - 97.0 ms listStakePools - 1.2 ms getNetworkInfo - 0.1 ms Latencies for 2 fixture wallets with 100 txs scenario listWallets - 1.1 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 14.5 ms postTransactionFee - 95.1 ms listStakePools - 1.7 ms getNetworkInfo - 0.1 ms Latencies for 10 fixture wallets with 10 txs scenario listWallets - 4.4 ms getWallet - 0.5 ms getUTxOsStatistics - 0.3 ms listAddresses - 0.9 ms listTransactions - 4.3 ms postTransactionFee - 106.6 ms listStakePools - 1.3 ms getNetworkInfo - 0.0 ms Latencies for 10 fixture wallets with 20 txs scenario listWallets - 4.2 ms getWallet - 0.4 ms getUTxOsStatistics - 0.3 ms listAddresses - 0.9 ms listTransactions - 4.5 ms postTransactionFee - 106.6 ms listStakePools - 1.3 ms getNetworkInfo - 0.1 ms Latencies for 10 fixture wallets with 100 txs scenario listWallets - 4.5 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 0.9 ms listTransactions - 15.8 ms postTransactionFee - 96.8 ms listStakePools - 1.6 ms getNetworkInfo - 0.1 ms Latencies for 2 fixture wallets with 100 utxos scenario listWallets - 1.7 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 12.2 ms postTransactionFee - 95.9 ms listStakePools - 1.4 ms getNetworkInfo - 0.0 ms Latencies for 2 fixture wallets with 200 utxos scenario listWallets - 1.7 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 25.1 ms postTransactionFee - 96.6 ms listStakePools - 1.4 ms getNetworkInfo - 0.1 ms Latencies for 2 fixture wallets with 500 utxos scenario listWallets - 1.6 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 69.7 ms postTransactionFee - 87.9 ms listStakePools - 1.5 ms getNetworkInfo - 0.0 ms Latencies for 2 fixture wallets with 1000 utxos scenario ``` <!-- 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]>
Build failed: #duplicate Cached failure of the above. Integration test results are not cached but unit test results are. |
I restarted the failing unit test. bors r+ |
2223: Enable 100 wallet scenario in latency benchmark r=rvl a=Anviking # Issue Number ADP-469, ADP-473 # Overview - [x] Simply enable `Latencies for 100 fixture wallets` - [x] Delete all wallets in between all latency scenarios - [x] Rename DSL helper `tearDown` to `deleteAllWallets`, and re-use it more # Comments ``` $ stack bench cardano-wallet Benchmark latency: RUNNING... Non-cached run getNetworkInfo - 20.7 ms Latencies for 2 fixture wallets scenario listWallets - 1.4 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 2.2 ms postTransactionFee - 86.4 ms listStakePools - 1.2 ms getNetworkInfo - 0.0 ms Latencies for 10 fixture wallets scenario listWallets - 4.8 ms getWallet - 0.4 ms getUTxOsStatistics - 0.3 ms listAddresses - 0.9 ms listTransactions - 2.0 ms postTransactionFee - 93.2 ms listStakePools - 1.3 ms getNetworkInfo - 0.0 ms Latencies for 100 fixture wallets listWallets - 59.9 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.2 ms listTransactions - 2.6 ms postTransactionFee - 139.2 ms listStakePools - 1.1 ms getNetworkInfo - 0.0 ms Latencies for 2 fixture wallets with 10 txs scenario listWallets - 1.1 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 0.9 ms listTransactions - 3.8 ms postTransactionFee - 104.2 ms listStakePools - 1.3 ms getNetworkInfo - 0.1 ms Latencies for 2 fixture wallets with 20 txs scenario listWallets - 1.1 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 5.5 ms postTransactionFee - 97.0 ms listStakePools - 1.2 ms getNetworkInfo - 0.1 ms Latencies for 2 fixture wallets with 100 txs scenario listWallets - 1.1 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 14.5 ms postTransactionFee - 95.1 ms listStakePools - 1.7 ms getNetworkInfo - 0.1 ms Latencies for 10 fixture wallets with 10 txs scenario listWallets - 4.4 ms getWallet - 0.5 ms getUTxOsStatistics - 0.3 ms listAddresses - 0.9 ms listTransactions - 4.3 ms postTransactionFee - 106.6 ms listStakePools - 1.3 ms getNetworkInfo - 0.0 ms Latencies for 10 fixture wallets with 20 txs scenario listWallets - 4.2 ms getWallet - 0.4 ms getUTxOsStatistics - 0.3 ms listAddresses - 0.9 ms listTransactions - 4.5 ms postTransactionFee - 106.6 ms listStakePools - 1.3 ms getNetworkInfo - 0.1 ms Latencies for 10 fixture wallets with 100 txs scenario listWallets - 4.5 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 0.9 ms listTransactions - 15.8 ms postTransactionFee - 96.8 ms listStakePools - 1.6 ms getNetworkInfo - 0.1 ms Latencies for 2 fixture wallets with 100 utxos scenario listWallets - 1.7 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 12.2 ms postTransactionFee - 95.9 ms listStakePools - 1.4 ms getNetworkInfo - 0.0 ms Latencies for 2 fixture wallets with 200 utxos scenario listWallets - 1.7 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 25.1 ms postTransactionFee - 96.6 ms listStakePools - 1.4 ms getNetworkInfo - 0.1 ms Latencies for 2 fixture wallets with 500 utxos scenario listWallets - 1.6 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 69.7 ms postTransactionFee - 87.9 ms listStakePools - 1.5 ms getNetworkInfo - 0.0 ms Latencies for 2 fixture wallets with 1000 utxos scenario ``` <!-- 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]>
Build failed: #2233 on macos.
|
bors r+ |
2223: Enable 100 wallet scenario in latency benchmark r=Anviking a=Anviking # Issue Number ADP-469, ADP-473 # Overview - [x] Simply enable `Latencies for 100 fixture wallets` - [x] Delete all wallets in between all latency scenarios - [x] Rename DSL helper `tearDown` to `deleteAllWallets`, and re-use it more # Comments ``` $ stack bench cardano-wallet Benchmark latency: RUNNING... Non-cached run getNetworkInfo - 20.7 ms Latencies for 2 fixture wallets scenario listWallets - 1.4 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 2.2 ms postTransactionFee - 86.4 ms listStakePools - 1.2 ms getNetworkInfo - 0.0 ms Latencies for 10 fixture wallets scenario listWallets - 4.8 ms getWallet - 0.4 ms getUTxOsStatistics - 0.3 ms listAddresses - 0.9 ms listTransactions - 2.0 ms postTransactionFee - 93.2 ms listStakePools - 1.3 ms getNetworkInfo - 0.0 ms Latencies for 100 fixture wallets listWallets - 59.9 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.2 ms listTransactions - 2.6 ms postTransactionFee - 139.2 ms listStakePools - 1.1 ms getNetworkInfo - 0.0 ms Latencies for 2 fixture wallets with 10 txs scenario listWallets - 1.1 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 0.9 ms listTransactions - 3.8 ms postTransactionFee - 104.2 ms listStakePools - 1.3 ms getNetworkInfo - 0.1 ms Latencies for 2 fixture wallets with 20 txs scenario listWallets - 1.1 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 5.5 ms postTransactionFee - 97.0 ms listStakePools - 1.2 ms getNetworkInfo - 0.1 ms Latencies for 2 fixture wallets with 100 txs scenario listWallets - 1.1 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 14.5 ms postTransactionFee - 95.1 ms listStakePools - 1.7 ms getNetworkInfo - 0.1 ms Latencies for 10 fixture wallets with 10 txs scenario listWallets - 4.4 ms getWallet - 0.5 ms getUTxOsStatistics - 0.3 ms listAddresses - 0.9 ms listTransactions - 4.3 ms postTransactionFee - 106.6 ms listStakePools - 1.3 ms getNetworkInfo - 0.0 ms Latencies for 10 fixture wallets with 20 txs scenario listWallets - 4.2 ms getWallet - 0.4 ms getUTxOsStatistics - 0.3 ms listAddresses - 0.9 ms listTransactions - 4.5 ms postTransactionFee - 106.6 ms listStakePools - 1.3 ms getNetworkInfo - 0.1 ms Latencies for 10 fixture wallets with 100 txs scenario listWallets - 4.5 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 0.9 ms listTransactions - 15.8 ms postTransactionFee - 96.8 ms listStakePools - 1.6 ms getNetworkInfo - 0.1 ms Latencies for 2 fixture wallets with 100 utxos scenario listWallets - 1.7 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 12.2 ms postTransactionFee - 95.9 ms listStakePools - 1.4 ms getNetworkInfo - 0.0 ms Latencies for 2 fixture wallets with 200 utxos scenario listWallets - 1.7 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 25.1 ms postTransactionFee - 96.6 ms listStakePools - 1.4 ms getNetworkInfo - 0.1 ms Latencies for 2 fixture wallets with 500 utxos scenario listWallets - 1.6 ms getWallet - 0.5 ms getUTxOsStatistics - 0.4 ms listAddresses - 1.0 ms listTransactions - 69.7 ms postTransactionFee - 87.9 ms listStakePools - 1.5 ms getNetworkInfo - 0.0 ms Latencies for 2 fixture wallets with 1000 utxos scenario ``` <!-- 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]>
Build failed:
|
questions life choices bors+ |
bors r+ |
While de-duplicating tearDown code, it seems this PR adds |
Build succeeded: |
2235: Fix extra-source-files not containing files used by TH r=hasufell a=hasufell 2239: WIP: Bump version from 2020.9.30 to 2020.10.13 r=KtorZ a=jonathanknowles <!-- Short optional summary --> Compatible with [`[email protected]`](https://github.com/input-output-hk/jormungandr/releases/tag/v0.9.0) and [`[email protected]`](https://github.com/input-output-hk/cardano-node/releases/tag/1.21.1). ## New Features - Adds the ability for users to select their own SMASH servers for stakepool listings. (#2214) - Adds transaction expiry slots for pending transactions. (#1879) ## Improvements - Adds a 100-wallet scenario to the latency benchmark. (#2223) - Adds an executable `shelley-test-cluster` which starts an integration test cluster that includes faucets. (#2178) - Extends `isOurs` to return the derivation path of an address. (#2219) ## Resolved Issues - Make pool garbage collection handle an unknown current epoch. (#2203) - Fixes incorrect mainnet network parameters returned from API. (#2226) ## Known Issues **_This section is a work in progress._** - Wallet restoration status reported incorrectly on mainnet. ([ADP-483](https://jira.iohk.io/browse/ADP-483)) ## Documentation <!-- A snapshot of the documentation at the time of releasing. --> Cardano (cardano-node) | ITN (Jörmungandr) --- | --- [API Documentation](https://input-output-hk.github.io/cardano-wallet/api/v2020-10-13) | [API Documentation](https://input-output-hk.github.io/cardano-wallet/api/v2020-10-13) [CLI Manual](https://github.com/input-output-hk/cardano-wallet/wiki/Wallet-command-line-interface/f71ecb7ece3deaec5bf60f4a4beea1d3950e0d46) | [CLI Manual](https://github.com/input-output-hk/cardano-wallet/wiki/Wallet-command-line-interface-jormungandr/f71ecb7ece3deaec5bf60f4a4beea1d3950e0d46) [Docker Manual](https://github.com/input-output-hk/cardano-wallet/wiki/Docker/f71ecb7ece3deaec5bf60f4a4beea1d3950e0d46) | [Docker Manual](https://github.com/input-output-hk/cardano-wallet/wiki/Docker-jormungandr/f71ecb7ece3deaec5bf60f4a4beea1d3950e0d46) ## Installation Instructions ### Cardano (cardano-node) 1. Install [`[email protected]`](https://github.com/input-output-hk/cardano-node/releases/tag/1.21.1). 2. Download the provided `cardano-wallet` for your platform, and uncompress it in a directory that is on your `$PATH`, e.g. `/usr/local/bin`. Or `%PATH%` on Windows. 4. Start `cardano-wallet --help` and see available parameters. #### Docker Pull from DockerHub and verify the version matches 2020.10.13. ``` $ docker pull inputoutput/cardano-wallet:2020.10.13 $ docker run --rm inputoutput/cardano-wallet:2020.10.13 version ``` ### ITN (jormungandr) 1. Install [`[email protected]`](https://github.com/input-output-hk/jormungandr/releases/tag/v0.9.0). 2. Download the provided `cardano-wallet-jormungandr` for your platform, and uncompress it in a directory that is on your `$PATH`, e.g. `/usr/local/bin`. Or `%PATH%` on Windows. 3. (optional) Install the bash/zsh auto-completion script according to the [jormungandr cli manual](https://github.com/input-output-hk/cardano-wallet/wiki/Wallet-Command-Line-Interface/{{JORM_CLI_WIKI_COMMIT}}) 4. Start `cardano-wallet --help` and see available parameters. #### Docker Pull from DockerHub and verify the version matches 2020.10.13 ``` $ docker pull inputoutput/cardano-wallet:2020.10.13-jormungandr $ docker run --rm inputoutput/cardano-wallet:2020.10.13-jormungandr version ``` ## Signatures <!-- Signatures of people responsible for the release --> Name | Role | Approval --- | --- | ---: Matthias Benkort @KtorZ | Technical Team Lead | ⌛ Piotr Stachyra @piotr-iohk | QA Engineer | ⌛ Tatyana Valkevych @tatyanavych | Release Manager | ⌛ Co-authored-by: Julian Ospald <[email protected]> Co-authored-by: Rodney Lorrimar <[email protected]> Co-authored-by: Jonathan Knowles <[email protected]> Co-authored-by: IOHK <[email protected]>
Issue Number
ADP-469, ADP-473
Overview
Latencies for 100 fixture wallets
tearDown
todeleteAllWallets
, and re-use it moreComments