Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
testing: add an example of using ReportMetric within a parallel bench…
…mark. Show how to use b.N within a parallel benchmark at the setup and reporting phases of the benchmark. Indicate that atomic operations must be used within the benchmark for loop and that b.N can reliably be derefenced from outside of the benchmark for loop. Fixes golang#50756
- Loading branch information