]> Cypherpunks repositories - gostls13.git/commit
testing: use time.Since in highPrecisionTime
authorEgon Elbre <egonelbre@gmail.com>
Sat, 27 Apr 2024 15:00:01 +0000 (18:00 +0300)
committerGopher Robot <gobot@golang.org>
Sat, 27 Apr 2024 19:42:36 +0000 (19:42 +0000)
commit644a4ff333210f08b23e17139eef4093a5fd882c
tree968b4d6e7c64eae31886190b9ccad880b4d8dd60
parent774d5b366ce43ed7e304ea3917e353112df9daf7
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>
src/testing/testing_other.go