- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for BenchmarkPoolExpensiveNew (0.29 sec)
-
src/sync/pool_test.go
b.ReportMetric(float64(total)/float64(b.N), "ns/op") b.ReportMetric(float64(pauses[len(pauses)*95/100]), "p95-ns/STW") b.ReportMetric(float64(pauses[len(pauses)*50/100]), "p50-ns/STW") } func BenchmarkPoolExpensiveNew(b *testing.B) { // Populate a pool with items that are expensive to construct // to stress pool cleanup and subsequent reconstruction. // Create a ballast so the GC has a non-zero heap size and
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 8K bytes - Viewed (0)