]> Cypherpunks repositories - gostls13.git/commit
runtime: add a single-text-section fast path to findfunc
authorJosh Bleecher Snyder <josharian@gmail.com>
Tue, 5 Oct 2021 19:11:46 +0000 (12:11 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Tue, 5 Oct 2021 23:34:32 +0000 (23:34 +0000)
commit5758c40ac850f249eccd1676974aac11cb0e8b66
treec52d8258a51fc8bd3220e7e2ef81720c61bc2096
parent77bd0da688bf9d53db6ad34a1b17df0cab0b2105
runtime: add a single-text-section fast path to findfunc

name                   old time/op  new time/op  delta
StackCopyWithStkobj-8  11.5ms ± 4%  10.7ms ± 7%  -7.10%  (p=0.000 n=10+10)

Change-Id: Ib806d732ec11f2a6cfde229fd88aff0fe68d9e7d
Reviewed-on: https://go-review.googlesource.com/c/go/+/354129
Trust: Josh Bleecher Snyder <josharian@gmail.com>
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
src/runtime/symtab.go