commit | 39626aa43d047c44aecbc83d570868647b6a5474 | [log] [tgz] |
---|---|---|
author | Michael Pratt <mpratt@google.com> | Fri Oct 01 17:21:06 2021 -0400 |
committer | Michael Pratt <mpratt@google.com> | Fri Oct 01 21:27:49 2021 +0000 |
tree | 11e709d791cf40a28c261ba8d4e0ddb7d8e2b708 | |
parent | 72daca3821bc606963db60800885762106b0f121 [diff] |
reflect: add a copy of BenchmarkMap This is a copy of reflect_test.BenchmakMap from the Go standard library, added in http://golang.org/cl/345486. This is added to x/benchmarks only temporarily as a sample 'go test' benchmark to use with benchmarking tools. This benchmark was selected in particular because it had a significant performance improvement with a recent upstream change (http://golang.org/cl/345486). Change-Id: I2bff47ffbaab1d471a37ec3cba4bea88cc78d8ed Reviewed-on: https://go-review.googlesource.com/c/benchmarks/+/353649 Trust: Michael Pratt <mpratt@google.com> Run-TryBot: Michael Pratt <mpratt@google.com> Reviewed-by: Michael Knyszek <mknyszek@google.com> TryBot-Result: Go Bot <gobot@golang.org>