]> Cypherpunks.ru repositories - gostls13.git/commit
runtime: convert flaky semaphore linearity test into benchmark
authorMichael Anthony Knyszek <mknyszek@google.com>
Fri, 17 Jun 2022 19:56:27 +0000 (19:56 +0000)
committerGopher Robot <gobot@golang.org>
Tue, 21 Jun 2022 19:37:22 +0000 (19:37 +0000)
commit4b236b45d0bb659a447dcfc02ebd431587b52e2b
treeb65509093e8324d051252a22c265950c624ed847
parent530511bacccdea0bb8a0fec644887c2613535c50
runtime: convert flaky semaphore linearity test into benchmark

Also, add a benchmark for another case that was originally tested.

Also also, remove all the dead code this now creates.

Fixes #53428.

Change-Id: Idbba88d3d31d38a8854fd5ed99001e394da27300
Reviewed-on: https://go-review.googlesource.com/c/go/+/412878
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Run-TryBot: Michael Knyszek <mknyszek@google.com>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
src/go/build/deps_test.go
src/internal/testenv/testenv.go
src/internal/testmath/bench.go [deleted file]
src/internal/testmath/ttest.go [deleted file]
src/runtime/sema.go
src/runtime/sema_test.go