aboutsummaryrefslogtreecommitdiff
path: root/src/database/sql
diff options
context:
space:
mode:
authorAustin Clements <austin@google.com>2016-09-22 17:02:22 -0400
committerAustin Clements <austin@google.com>2016-09-26 22:01:32 +0000
commitd211c2d3774d78173e004f0ffb1e2eae9ae19706 (patch)
tree501a7ece9533e110b6d3a4e78c619313ce2eda37 /src/database/sql
parentaaf4099a5cabfee52b1c481f2a30ee0dd02ef247 (diff)
downloadgo-d211c2d3774d78173e004f0ffb1e2eae9ae19706.tar.xz
runtime: implement getcallersp in Go
This makes it possible to inline getcallersp. getcallersp is on the hot path of defers, so this slightly speeds up defer: name old time/op new time/op delta Defer-4 78.3ns ± 2% 75.1ns ± 1% -4.00% (p=0.000 n=9+8) Updates #14939. Change-Id: Icc1cc4cd2f0a81fc4c8344432d0b2e783accacdd Reviewed-on: https://go-review.googlesource.com/29655 TryBot-Result: Gobot Gobot <gobot@golang.org> Run-TryBot: Austin Clements <austin@google.com> Reviewed-by: David Crawshaw <crawshaw@golang.org> Reviewed-by: Keith Randall <khr@golang.org>
Diffstat (limited to 'src/database/sql')
0 files changed, 0 insertions, 0 deletions