-
Notifications
You must be signed in to change notification settings - Fork 685
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
branchmark storage: Arg to read a fraction of all KV pairs #146
Comments
Hello @ggwpez, currently looking into this |
Thanks @Doordashcon, since it is extremely easy, i would rather like to keep this for a newcomer that has not yet worked with Substrate... |
Hello @ggwpez, Makes sense |
Hm, not sure. Mostly just reading the code I guess. Entry point for adding the argument would be here https://github.com/paritytech/substrate/blob/96f8c97dff7f419a349ee01d02613445ba4a41f8/utils/frame/benchmarking-cli/src/storage/cmd.rs#L75 |
Turns out this does not work since the DB backend cannot give us a random KV pair. |
…y error codes (#146) * txWatch: Limit the number of active subscriptions Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io> * txWatch: Specify rpc error code from jsonrpc.org Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io> * txWatch: Add mention for invalid tx decoded bytes Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io> * Update src/api/transactionWatch_unstable_submitAndWatch.md Co-authored-by: James Wilson <james@jsdw.me> --------- Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io> Co-authored-by: James Wilson <james@jsdw.me>
Bumps [derive_more](https://github.com/JelteF/derive_more) from 0.99.7 to 0.99.8. - [Release notes](https://github.com/JelteF/derive_more/releases) - [Changelog](https://github.com/JelteF/derive_more/blob/master/CHANGELOG.md) - [Commits](JelteF/derive_more@v0.99.7...v0.99.8) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Bumps [derive_more](https://github.com/JelteF/derive_more) from 0.99.7 to 0.99.8. - [Release notes](https://github.com/JelteF/derive_more/releases) - [Changelog](https://github.com/JelteF/derive_more/blob/master/CHANGELOG.md) - [Commits](JelteF/derive_more@v0.99.7...v0.99.8) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Bumps [derive_more](https://github.com/JelteF/derive_more) from 0.99.7 to 0.99.8. - [Release notes](https://github.com/JelteF/derive_more/releases) - [Changelog](https://github.com/JelteF/derive_more/blob/master/CHANGELOG.md) - [Commits](JelteF/derive_more@v0.99.7...v0.99.8) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Bumps [derive_more](https://github.com/JelteF/derive_more) from 0.99.7 to 0.99.8. - [Release notes](https://github.com/JelteF/derive_more/releases) - [Changelog](https://github.com/JelteF/derive_more/blob/master/CHANGELOG.md) - [Commits](JelteF/derive_more@v0.99.7...v0.99.8) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Bumps [derive_more](https://github.com/JelteF/derive_more) from 0.99.7 to 0.99.8. - [Release notes](https://github.com/JelteF/derive_more/releases) - [Changelog](https://github.com/JelteF/derive_more/blob/master/CHANGELOG.md) - [Commits](JelteF/derive_more@v0.99.7...v0.99.8) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Bumps [derive_more](https://github.com/JelteF/derive_more) from 0.99.7 to 0.99.8. - [Release notes](https://github.com/JelteF/derive_more/releases) - [Changelog](https://github.com/JelteF/derive_more/blob/master/CHANGELOG.md) - [Commits](JelteF/derive_more@v0.99.7...v0.99.8) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Bumps [derive_more](https://github.com/JelteF/derive_more) from 0.99.7 to 0.99.8. - [Release notes](https://github.com/JelteF/derive_more/releases) - [Changelog](https://github.com/JelteF/derive_more/blob/master/CHANGELOG.md) - [Commits](JelteF/derive_more@v0.99.7...v0.99.8) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Bumps [derive_more](https://github.com/JelteF/derive_more) from 0.99.7 to 0.99.8. - [Release notes](https://github.com/JelteF/derive_more/releases) - [Changelog](https://github.com/JelteF/derive_more/blob/master/CHANGELOG.md) - [Commits](JelteF/derive_more@v0.99.7...v0.99.8) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Bumps [derive_more](https://github.com/JelteF/derive_more) from 0.99.7 to 0.99.8. - [Release notes](https://github.com/JelteF/derive_more/releases) - [Changelog](https://github.com/JelteF/derive_more/blob/master/CHANGELOG.md) - [Commits](JelteF/derive_more@v0.99.7...v0.99.8) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Bumps [derive_more](https://github.com/JelteF/derive_more) from 0.99.7 to 0.99.8. - [Release notes](https://github.com/JelteF/derive_more/releases) - [Changelog](https://github.com/JelteF/derive_more/blob/master/CHANGELOG.md) - [Commits](JelteF/derive_more@v0.99.7...v0.99.8) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Bumps [derive_more](https://github.com/JelteF/derive_more) from 0.99.7 to 0.99.8. - [Release notes](https://github.com/JelteF/derive_more/releases) - [Changelog](https://github.com/JelteF/derive_more/blob/master/CHANGELOG.md) - [Commits](JelteF/derive_more@v0.99.7...v0.99.8) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
👉 Good issue for newcomers (please dont pick up when you already have experience).
The Moonbeam storage benchmark takes about 40 hrs.
I order to get some faster preliminary results we should add a
--access-fraction %
argument to only access a percentage of all KV pairs.Maybe wen can still think of a nicer name than
--access-fraction
before implementing it.The text was updated successfully, but these errors were encountered: