This repository was 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.7k
Add statistics to benchmarking-cli output #5250
Closed
Closed
Changes from all commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
18b0170
Try adding benchmark to runtime and exposit runtime-benchmarks
e2286bc
Registering state from overlay.
cheme 660ed3d
fix
cheme 89520b9
fix2
cheme 1dd381f
Merge branch 'master' of https://github.com/paritytech/substrate into…
07da93a
Merge branch 'state-metrics' of https://github.com/cheme/substrate in…
ae340b5
WIP: add usage info stub functions; add InstantWithDefault
fc784f3
Add new method to InstantWithDefault
5873f57
Add sp-state-machine as optional in frame/benchmarking
2199777
Rename methods
5100dc3
add sp_stats crate
711a161
Update comments and typo
9490cb7
Add default-features = false for runtime-interface
fe22050
Replace instant with Duration; Make code compilable
71d2a7c
Add corret fn signatures
a6dd88d
Impl PassBy in runtime-interface
169da7a
Remove empty return of db_usage_info
850062b
Remove unimplemented code
003325b
call usage_info in benchmarking-cli
ae5c499
Add RefCell<UsageInfo> to BenchmarkingState
04371db
Merge branch 'scott_add_usage_info' of github.com:pscott/substrate in…
a1516be
Revert "call usage_info in benchmarking-cli"
a60a5da
Update try_borrow_mut's error logic
43b81b6
Add mut keyword to usage_info
bd96591
Add anti-pattern let _ to silence clippy's warning
c9db643
Clean code and update comments
987027b
Read bytes as u64 instead of usize
c412117
Add bytes as u64 instead of usize
0c4c653
Update unimplemented code
2a358ac
Revert "Merge branch 'state-metrics' of https://github.com/cheme/subs…
d4294c6
Merge branch 'master' of github.com:paritytech/substrate into scott_a…
eb76aed
Bump sp-stats version
c527103
Remove try_borrow()
c00369b
Update memory to field to be u64 instead of u32
ac8c8dd
Explain sp-stats' purpose
8f749f8
Remove unimplemented wipe
3407c07
Merge branch 'master' of github.com:paritytech/substrate into scott_a…
ebc26e1
Correctly track state read / writes; Remove cache_hits
774527e
Update Cargo.lock
shawntabrizi 1727792
Merge branch 'master' into scott_add_usage_info
pscott 3d65985
Review merge
b8197bf
Unexpose benchmarking pallet
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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
is this something you changed @pscott
or it was part of @cheme merged pr?