]> Cypherpunks repositories - gostls13.git/commit
runtime: add BenchmarkScanStack
authorJosh Bleecher Snyder <josharian@gmail.com>
Sat, 7 Apr 2018 00:44:26 +0000 (17:44 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Tue, 1 May 2018 13:33:01 +0000 (13:33 +0000)
commitdda4591c8cc0b57e76339f1f18a6f5670cee2aaa
tree83366e7467ffafaf9a33f233f7f280b48c37d707
parent9ecf899b295c3661bb6ad0e7345fb479986d13f0
runtime: add BenchmarkScanStack

There are many possible stack scanning benchmarks,
but this one is at least a start.

cpuprofiling shows about 75% of CPU in func scanstack.

Change-Id: I906b0493966f2165c1920636c4e057d16d6447e0
Reviewed-on: https://go-review.googlesource.com/105535
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
src/runtime/gc_test.go