• Marcel van Lohuizen's avatar
    testing: probe with N=1 · 31e5d835
    Marcel van Lohuizen authored
    Change control flow to probe with N=1. This calls benchFunc
    the same number of times as the old implementation in the
    absence of subbenchmarks.
    
    To be compatible with existing tools, benchmarking only
    prints a line for "leaf" benchmarks. This means, though, that
    the name of a benchmark can only be printed after the first
    iteration.
    
    Issue #14863
    
    Change-Id: Ic7b9b89b058f8ebb5287755f24f9e47df8c9537c
    Reviewed-on: https://go-review.googlesource.com/21043
    Run-TryBot: Marcel van Lohuizen <mpvl@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarRuss Cox <rsc@golang.org>
    31e5d835
Name
Last commit
Last update
.github Loading commit data...
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...