mirror of
https://github.com/golang/go.git
synced 2024-09-21 10:28:27 +00:00
402dc98759
With b.Loop() in place, the time measurement of loop scaling could be improved to be tighter. By identifying the first call to b.Loop(), we can avoid measuring the expensive ramp-up time by reset the timer tightly before the loop starts. The remaining loop scaling logic of b.N style loop is largely reused. For #61515. Change-Id: Ia7b8f0a8838f57c00ac6c5ef779d86f8d713c9b6 Reviewed-on: https://go-review.googlesource.com/c/go/+/612835 Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Junyang Shao <shaojunyang@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> |
||
---|---|---|
.. | ||
fstest | ||
internal/testdeps | ||
iotest | ||
quick | ||
slogtest | ||
allocs_test.go | ||
allocs.go | ||
benchmark_test.go | ||
benchmark.go | ||
cover.go | ||
example.go | ||
export_test.go | ||
flag_test.go | ||
fuzz.go | ||
helper_test.go | ||
helperfuncs_test.go | ||
match_test.go | ||
match.go | ||
newcover.go | ||
panic_test.go | ||
run_example_wasm.go | ||
run_example.go | ||
sub_test.go | ||
testing_other.go | ||
testing_test.go | ||
testing_windows_test.go | ||
testing_windows.go | ||
testing.go |