bosagora / agora

POC Node implementation for CoinNet
https://bosagora.io
MIT License
37 stars 23 forks source link

Instrument functions with Tracy zone #3272

Closed mkykadir closed 2 years ago

mkykadir commented 2 years ago

Fixes #3268

Zones will appear as following; zone_timeline

With zone specific details; zone_specific

Other instrumentations can be added with this PR according to recommendations or sperate PRs in future as required. After this, I recommend that we should run an validator Agora node and a registry Agora node with Tracy on test servers

codecov[bot] commented 2 years ago

Codecov Report

Merging #3272 (8e7ac80) into v0.x.x (d782bfe) will increase coverage by 1.20%. The diff coverage is n/a.

@@            Coverage Diff             @@
##           v0.x.x    #3272      +/-   ##
==========================================
+ Coverage   87.76%   88.97%   +1.20%     
==========================================
  Files         164      165       +1     
  Lines       16963    17072     +109     
==========================================
+ Hits        14888    15189     +301     
+ Misses       2075     1883     -192     
Flag Coverage Δ
integration 49.87% <ø> (+6.89%) :arrow_up:
unittests 87.45% <ø> (-0.04%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
source/agora/consensus/EnrollmentManager.d 96.85% <ø> (ø)
source/agora/consensus/Ledger.d 97.38% <ø> (-0.15%) :arrow_down:
source/agora/consensus/protocol/Nominator.d 91.28% <ø> (+0.71%) :arrow_up:
source/agora/consensus/state/Ledger.d 89.93% <ø> (-0.34%) :arrow_down:
source/agora/node/FullNode.d 75.54% <ø> (+2.16%) :arrow_up:
source/agora/node/Registry.d 79.37% <ø> (+2.08%) :arrow_up:
source/agora/node/Validator.d 91.45% <ø> (+0.04%) :arrow_up:
source/agora/utils/Log.d 62.26% <ø> (ø)
source/agora/consensus/state/ValidatorSet.d 85.71% <0.00%> (-1.06%) :arrow_down:
... and 14 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update d782bfe...8e7ac80. Read the comment docs.