diff options
| author | Egon Elbre <egonelbre@gmail.com> | 2024-04-27 18:00:01 +0300 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2024-04-27 19:42:36 +0000 |
| commit | 644a4ff333210f08b23e17139eef4093a5fd882c (patch) | |
| tree | 968b4d6e7c64eae31886190b9ccad880b4d8dd60 /src/encoding/json/encode.go | |
| parent | 774d5b366ce43ed7e304ea3917e353112df9daf7 (diff) | |
| download | go-644a4ff333210f08b23e17139eef4093a5fd882c.tar.xz | |
testing: use time.Since in highPrecisionTime
time.Since has optimizations for measuring monotonic time.
For #31160.
Change-Id: I0529b9f69b9f008e3414b8e386b6faa64af4a008
Reviewed-on: https://go-review.googlesource.com/c/go/+/582135
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Diffstat (limited to 'src/encoding/json/encode.go')
0 files changed, 0 insertions, 0 deletions
