]> Cypherpunks repositories - gostls13.git/commit
sync: add PoolStarvation benchmark
authorRuslan Andreev <kels9009@gmail.com>
Mon, 1 Nov 2021 18:17:49 +0000 (18:17 +0000)
committerDavid Chase <drchase@google.com>
Mon, 1 Nov 2021 19:42:30 +0000 (19:42 +0000)
commit5f1bcd1bc29615b4366f6da8df958bd048ef89a8
tree2d6df95a980b73939e2e5349434234935570f18b
parentb5a5b7bfb1ba25abf8cad8b9ad9451fb6e79d941
sync: add PoolStarvation benchmark

This benchmark simulates object starvation in order to force Ps to steal
objects from other Ps. Extracted from CL 314229.

Change-Id: Iee31df355ba04d80fbd91c4414e397a375e6d6d7
Reviewed-on: https://go-review.googlesource.com/c/go/+/360256
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>
Trust: Cherry Mui <cherryyz@google.com>
src/sync/pool_test.go