go/src/testing
sunnymilk 6600a871ef testing: implement testing.B.Loop
Initial implementation for testing.B.Loop,
right now the calculation of b.N are still done in the old fasion way,
as of now b.Loop is merely an alias for the old loop over b.N.

For #61515.

Change-Id: If211d0acc5f0c33df530096dceafe0b947ab0c8e
Reviewed-on: https://go-review.googlesource.com/c/go/+/608798
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Junyang Shao <shaojunyang@google.com>
Run-TryBot: Junyang Shao <shaojunyang@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
2024-09-20 19:09:41 +00:00
..
fstest os,path/filepath,testing: use slices to clean up tests 2024-07-25 00:23:06 +00:00
internal/testdeps cmd/go: fix problems with coverage percentage reporting w/ -coverpkg 2024-06-14 11:46:05 +00:00
iotest
quick
slogtest
allocs.go
allocs_test.go
benchmark.go testing: implement testing.B.Loop 2024-09-20 19:09:41 +00:00
benchmark_test.go testing: implement testing.B.Loop 2024-09-20 19:09:41 +00:00
cover.go
example.go all: change from sort functions to slices functions where feasible 2024-05-23 01:00:11 +00:00
export_test.go testing: add Chdir 2024-08-16 23:48:50 +00:00
flag_test.go testing: use testenv.Executable 2024-09-03 18:03:28 +00:00
fuzz.go testing: rename testContext to testState 2024-08-21 20:52:09 +00:00
helper_test.go testing: use testenv.Executable 2024-09-03 18:03:28 +00:00
helperfuncs_test.go
match.go
match_test.go
newcover.go internal/coverage/cfile: remove //go:linkname into testing 2024-05-22 09:58:07 +00:00
panic_test.go Revert "testing: simplify concurrency and cleanup logic" 2023-11-27 16:49:24 +00:00
run_example.go
run_example_wasm.go
sub_test.go testing: rename testContext to testState 2024-08-21 20:52:09 +00:00
testing.go testing: rename testContext to testState 2024-08-21 20:52:09 +00:00
testing_other.go testing: use time.Since in highPrecisionTime 2024-04-27 19:42:36 +00:00
testing_test.go testing: use testenv.Executable 2024-09-03 18:03:28 +00:00
testing_windows.go testing: use QueryPerformanceCounter on Windows 2024-04-26 22:55:25 +00:00
testing_windows_test.go testing: use QueryPerformanceCounter on Windows 2024-04-26 22:55:25 +00:00