grpc-go icon indicating copy to clipboard operation
grpc-go copied to clipboard

docs: add benchmarking guide (benchstat workflow + pprof) and perform…

Open NesterovYehor opened this issue 3 months ago • 4 comments

Fixes #8574

docs/benchmark: add benchmarking guide and perf PR checklist

Adds benchmark/README.md with:

  • How to run micro-benchmarks consistently
  • Baseline vs. candidate comparison using benchstat
  • Quick pprof (CPU/mem) tips

CONTRIBUTING.md: link to the guide and require benchstat diff + env/flags for perf PRs.

RELEASE NOTES: n/a

NesterovYehor avatar Sep 15 '25 10:09 NesterovYehor

Codecov Report

:white_check_mark: All modified and coverable lines are covered by tests. :white_check_mark: Project coverage is 80.85%. Comparing base (8420f3f) to head (628a006). :warning: Report is 18 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8577      +/-   ##
==========================================
- Coverage   80.91%   80.85%   -0.06%     
==========================================
  Files         413      413              
  Lines       40751    40773      +22     
==========================================
- Hits        32972    32969       -3     
- Misses       6155     6173      +18     
- Partials     1624     1631       +7     

see 23 files with indirect coverage changes

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

codecov[bot] avatar Sep 15 '25 10:09 codecov[bot]

Maintainers: could you please apply the label Type: Documentation (this PR adds docs only)? Thanks!

NesterovYehor avatar Sep 15 '25 10:09 NesterovYehor

I see that the CI is failing for TestResolverBadServiceUpdate_NACKedWithoutCache. We recently fixed this. Would you please rebase your PR to master. Thanks.

easwars avatar Sep 25 '25 17:09 easwars