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

feat: add metric for measuring performance #229

Merged
merged 12 commits into from
May 6, 2021

Conversation

egonspace
Copy link
Contributor

@egonspace egonspace commented May 6, 2021

Closes: #XXX

Description

I modified this PR(#126) to make it more practical to use without cherry-pick.

  • used Histogram instead of Gauge to make cumulative numerical calculations easier
  • duration steps are divided as following
    • proposal
    • prevote
    • precommit
    • commit executing: deliverTx
    • commit committing: app commit
    • commit rechecking: rechecking txs of mempool
    • waiting for next new round

For contributor use:

  • Wrote tests
  • Updated CHANGELOG_PENDING.md
  • Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
  • Updated relevant documentation (docs/) and code comments
  • Re-reviewed Files changed in the Github PR explorer

@egonspace egonspace self-assigned this May 6, 2021
@egonspace egonspace added this to the initial ebony milestone May 6, 2021
Copy link
Contributor

@wetcod wetcod left a comment

Choose a reason for hiding this comment

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

LGTM

@egonspace egonspace merged commit fcf6e59 into ebony May 6, 2021
@tnasu tnasu deleted the egon/ebony/duration_metrics branch July 7, 2021 05:17
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.

2 participants