]> Cypherpunks.ru repositories - gostls13.git/commit
internal/trace/v2: halve the memory footprint of the gc-stress test
authorMichael Anthony Knyszek <mknyszek@google.com>
Tue, 14 Nov 2023 15:36:39 +0000 (15:36 +0000)
committerGopher Robot <gobot@golang.org>
Tue, 14 Nov 2023 16:07:26 +0000 (16:07 +0000)
commit859c13a5ad80308125c79521cfc047200fd5a512
tree2e2b5e58ace40b2b6f09c8f225c4677fc26e6036
parente8298c09b1154e3eb3560352ebbea6d11d87772e
internal/trace/v2: halve the memory footprint of the gc-stress test

An out-of-memory error in this test has been observed on 32-bit
platforms, so halve the memory footprint of the test. Also halve the
size of steady-state allocation rate in bytes. The end result should be
approximately the same GC CPU load but at half the memory usage.

Change-Id: I2c2d335da7dc4c5c58cb9d92b6e5a4ece55d24a8
Reviewed-on: https://go-review.googlesource.com/c/go/+/542215
Auto-Submit: Michael Knyszek <mknyszek@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
src/internal/trace/v2/testdata/testprog/gc-stress.go