Skip to content
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

benchmarks: Add benchmark for block time to bank module #1332

Merged
merged 9 commits into from
Jun 27, 2018
Merged

Conversation

ValarDragon
Copy link
Contributor

@ValarDragon ValarDragon commented Jun 22, 2018

Closes #1327

  • Updated all relevant documentation in docs - n/a
  • Updated all code comments where relevant
  • Wrote tests
  • Updated CHANGELOG.md
  • Updated Gaia/Examples - n/a
  • Squashed all commits, uses message "Merge pull request #XYZ: [title]" (coding standards)

@cwgoes
Copy link
Contributor

cwgoes commented Jun 22, 2018

To be added to CI at some point - #1333.

@cwgoes
Copy link
Contributor

cwgoes commented Jun 22, 2018

Refactor per #1327 (comment)

@ValarDragon ValarDragon changed the title benchmarks: Add benchmark folder, and single benchmark for block time benchmarks: Add benchmark for block time to bank module Jun 22, 2018
@codecov
Copy link

codecov bot commented Jun 22, 2018

Codecov Report

Merging #1332 into develop will increase coverage by 0.9%.
The diff coverage is 18.18%.

@@            Coverage Diff             @@
##           develop    #1332     +/-   ##
==========================================
+ Coverage    62.81%   63.72%   +0.9%     
==========================================
  Files          109      109             
  Lines         6016     6026     +10     
==========================================
+ Hits          3779     3840     +61     
+ Misses        2020     1967     -53     
- Partials       217      219      +2

@cwgoes
Copy link
Contributor

cwgoes commented Jun 22, 2018

Can we add a few lines, either in CHANGELOG.md or in a doc, describing how to run benchmarks with the profiler and view output?

@ValarDragon
Copy link
Contributor Author

Sure. Where in the docs would this belong?

@cwgoes
Copy link
Contributor

cwgoes commented Jun 22, 2018

Sure. Where in the docs would this belong?

docs/overview perhaps? Seems in the general category of "SDK Dev Guide", but not sure where that's going in the docs overhaul - cc @ebuchman

@ebuchman
Copy link
Member

I think this is fine as is - we can have benchmarks in the particular modules that they're benchmarking.

Copy link
Contributor

@cwgoes cwgoes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested ACK

@cwgoes cwgoes merged commit 49f421d into develop Jun 27, 2018
@cwgoes cwgoes deleted the dev/add_bench branch June 27, 2018 22:34
adrianbrink pushed a commit that referenced this pull request Jul 2, 2018
* benchmarks: Add benchmark folder, and single benchmark for block time
* Move benchmark into module
* Fix merge conflict errors
* Fix spelling
* Add instructions to run benchmark
* Update auth_app_test.go
chillyvee pushed a commit to chillyvee/cosmos-sdk that referenced this pull request Mar 1, 2024
* Update contrib/statesync.bash Bash script.

* Remove genesis download step, in favour of "--chain-id" flag.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants