golang/src/hash
qiulaidongfeng 44e48c7e6c hash/maphash: parallel run test
This is a reapplication of CL 564576.

This reduces the go test hash/maphash time
by more than half.

After investigation it was confirmed that
the original CL would cause OOM when 32-bit machine.

This CL add testenv.ParallelOn64Bit for tests
that can be parallel on 64-bit machines,
it is not parallel on 32-bit machines,
because CL 564995 require the same API.

Change-Id: I1b7feaa07716cb3f55db4671653348fabf2396b0
GitHub-Last-Rev: 28277255587f6a1b92b9bf1848e1f53adaca64dc
GitHub-Pull-Request: golang/go#66359
Cq-Include-Trybots: luci.golang.try:gotip-linux-386-longtest
Reviewed-on: https://go-review.googlesource.com/c/go/+/572195
Reviewed-by: Keith Randall <khr@google.com>
Auto-Submit: Keith Randall <khr@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: David Chase <drchase@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-05-03 16:41:38 +00:00
..
adler32 hash: simplify binary operations 2023-11-19 15:24:07 +00:00
crc32 hash/crc32: fix code generator to use the Go standard 2024-02-19 20:44:20 +00:00
crc64 hash: simplify binary operations 2023-11-19 15:24:07 +00:00
fnv all: remove newline characters after return statements 2023-12-14 17:22:18 +00:00
maphash hash/maphash: parallel run test 2024-05-03 16:41:38 +00:00
example_test.go hash: add marshaling, unmarshaling example 2017-11-04 03:47:34 +00:00
hash.go hash: add available godoc link 2023-10-13 19:15:34 +00:00
marshal_test.go hash: add MarshalBinary/UnmarshalBinary round trip + golden test for all implementations 2017-12-06 07:45:46 +00:00
test_cases.txt build: move package sources from src/pkg to src 2014-09-08 00:08:51 -04:00
test_gen.awk build: move package sources from src/pkg to src 2014-09-08 00:08:51 -04:00