This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Create Benchmarking Setup for Identity Pallet #4695 #4818
Merged
Merged
Changes from all commits
Commits
Show all changes
62 commits
Select commit
Hold shift + click to select a range
7b33492
Starting
shawntabrizi 3b12740
closer
shawntabrizi 55cf8b6
Compiles!
shawntabrizi 9da52bb
comments
shawntabrizi 27127c0
Create seperate mock
shawntabrizi ae84e9f
Remove changes to test env
shawntabrizi 06d1173
Fix step calculation
shawntabrizi 9f25cf5
Add host function
shawntabrizi 621cc0d
Merge remote-tracking branch 'upstream/master' into shawntabrizi-iden…
shawntabrizi ddff026
Add runtime api
shawntabrizi b32c805
Merge remote-tracking branch 'upstream/master' into shawntabrizi-iden…
shawntabrizi 890ad0d
compiles
shawntabrizi 0a1bcfc
Update to use offchain timestamp
shawntabrizi 931702b
Gives a result
shawntabrizi e8c4992
added some CLI wip
shawntabrizi 334d1e6
Merge branch 'master' of github.com:paritytech/substrate into shawnta…
arkpar e5657e9
make generic
shawntabrizi 32e9e07
Update instance
shawntabrizi 1e2630c
Remove CLI stuff
shawntabrizi bafbac0
Remove last cli stuff
shawntabrizi 86b32ef
undo more changes
shawntabrizi dd87c93
Update benchmarks
shawntabrizi 6814c1a
Merge remote-tracking branch 'upstream/master' into shawntabrizi-iden…
shawntabrizi 7c089f7
Update Cargo.lock
shawntabrizi 7bd0ae1
remove test
shawntabrizi 862dc67
Move loop out of runtime
shawntabrizi 6d0c8b4
Benchmarking externalities
arkpar 1575aae
Merge branch 'shawntabrizi-identity-bench' of github.com:paritytech/s…
arkpar 3c5dcf7
Benchmarking state
arkpar d7c0ae8
Implemented commit
arkpar 38602b8
Make CLI work, move loop back into runtime
shawntabrizi 9614ea7
Merge branch 'master' of github.com:paritytech/substrate into shawnta…
arkpar e6eeab8
Merge branch 'shawntabrizi-identity-bench' of github.com:paritytech/s…
arkpar 5ee888f
Wipe resets to genesis
arkpar e0b48d2
Merge branch 'master' of github.com:paritytech/substrate into shawnta…
arkpar d73ca25
Speedup benchmarks
arkpar 879826c
Use enum to select extrinsic within pallet
shawntabrizi e041347
CLI controls which module and extrinsic to call
shawntabrizi 115290b
Select a pallet with cli
shawntabrizi 283860c
Add steps and repeats to cli
shawntabrizi 978a1b4
Merge branch 'shawntabrizi-identity-bench' of https://github.com/pari…
shawntabrizi ca890f6
Output as CSV format
shawntabrizi 1cb8529
Introduce benchmark pallet
shawntabrizi 1c97bd9
Append bench
shawntabrizi ea5c3e1
Use Results
shawntabrizi 94bff4b
Merge remote-tracking branch 'upstream/master' into shawntabrizi-iden…
shawntabrizi 55a2e85
fix merge
shawntabrizi 6787808
Clear Identity benchmark
shawntabrizi 4c2b218
Bench request judgment and cancel request
shawntabrizi 833c377
Add final benchmarks
shawntabrizi 3e27b42
Fix CSV output
shawntabrizi 34838f6
Start cleaning up for PR
shawntabrizi 93422d4
Bump numbers in `wasmtime` integration tests.
shawntabrizi 6bcf639
Merge remote-tracking branch 'upstream/master' into shawntabrizi-iden…
shawntabrizi f73ca4a
More docs
shawntabrizi eecaac0
Add rockdb feature to bench
shawntabrizi 6243911
Fix formatting issues
shawntabrizi 09804e1
Add test feature to bench
shawntabrizi 00809ad
Add test feature to bench
shawntabrizi 8d509d0
Add rocksdb feature flag
shawntabrizi fe2d0a2
Update bench.rs
gavofyork 91827e5
Merge branch 'master' into shawntabrizi-identity-bench
gavofyork File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Should I hide the entire benchmarking pipeline behind a feature flag?
This means by default we should:
Is it possible?
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.
i think so; we don't really want benchmarking code making it on to the chain.