-
Russ Cox authored
When running benchmarks with profilers and trying to compare one run against another, it is very useful to be able to force each run to execute exactly the same number of iterations. Discussion on the proposal issue #24735 led to the decision to overload -benchtime, so that instead of saying -benchtime 10s to run a benchmark for 10 seconds, you say -benchtime 100x to run a benchmark 100 times. Fixes #24735. Change-Id: Id17c5bd18bd09987bb48ed12420d61ae9e200fd7 Reviewed-on: https://go-review.googlesource.com/c/139258 Run-TryBot: Russ Cox <rsc@golang.org> Reviewed-by: Austin Clements <austin@google.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
8e0aea16
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
internal | ||
testdata | ||
alldocs.go | ||
go11.go | ||
go_test.go | ||
go_unix_test.go | ||
go_windows_test.go | ||
help_test.go | ||
main.go | ||
mkalldocs.sh | ||
note_test.go | ||
proxy_test.go | ||
script_test.go | ||
vendor_test.go |