]> Cypherpunks repositories - gostls13.git/commit
runtime: add Benchmark[Clear|Copy]Fat[8|12]
authorJosh Bleecher Snyder <josharian@gmail.com>
Mon, 21 Jul 2014 18:23:29 +0000 (11:23 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Mon, 21 Jul 2014 18:23:29 +0000 (11:23 -0700)
commit2ac289c4a095e3133b375ae65c115ff23327a1c4
treed9450bb1b6038e23c3b9794e0b813d24d1844bd8
parentebfc7e862eb6311c8403924e404eaa8d1bad2e37
runtime: add Benchmark[Clear|Copy]Fat[8|12]

These correspond to 2 and 3 word fat copies/clears on 8g, which dominate usage in the stdlib. (70% of copies and 46% of clears are for 2 or 3 words.) I missed these in CL 111350043, which added 2 and 3 word benchmarks for 6g. A follow-up CL will optimize these cases.

LGTM=khr
R=khr
CC=golang-codereviews
https://golang.org/cl/115160043
src/pkg/runtime/memmove_test.go