diff options
| author | Mateusz Poliwczak <mpoliwczak34@gmail.com> | 2025-02-12 07:16:32 +0000 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2025-02-12 18:31:00 -0800 |
| commit | 679cd8e7798db593d0973519f6d3ee7ea7659142 (patch) | |
| tree | 9075de16d1db5c1b90b16e4a7ca0bcde6421fbb9 /src/cmd | |
| parent | fb5f78a14f71f043604826067d1f224e1e90a2f5 (diff) | |
| download | go-679cd8e7798db593d0973519f6d3ee7ea7659142.tar.xz | |
reflect, internal/abi: speed up TypeFor[T]
goos: linux
goarch: amd64
pkg: reflect
cpu: AMD Ryzen 5 4600G with Radeon Graphics
│ /tmp/before │ /tmp/after │
│ sec/op │ sec/op vs base │
TypeForString-12 2.091n ± 1% 1.174n ± 1% -43.84% (p=0.000 n=20)
TypeForError-12 7.5810n ± 3% 0.9372n ± 1% -87.64% (p=0.000 n=20)
Change-Id: I22022f99b2dd2029f02d9ed8477b209adf7e9496
GitHub-Last-Rev: 64d2ac5bb2f3b2a659663832a4641ff4fc83bddd
GitHub-Pull-Request: golang/go#71654
Reviewed-on: https://go-review.googlesource.com/c/go/+/648395
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/cmd')
0 files changed, 0 insertions, 0 deletions
