]> Cypherpunks repositories - gostls13.git/commit
cmd/link: symbol generation optimizations
authorShahar Kohanim <skohanim@gmail.com>
Thu, 7 Apr 2016 15:00:57 +0000 (18:00 +0300)
committerShahar Kohanim <skohanim@gmail.com>
Mon, 11 Apr 2016 15:02:28 +0000 (15:02 +0000)
commit4f12cc08132f3e5d2ba4b756c91d88c2e58a73b1
tree503fc132b77de609d029dc8b3bdf6805de200048
parentb0eeb8b0aaaf4997c25e3048bfc40e53d556a8eb
cmd/link: symbol generation optimizations

After making dwarf generation backed by LSyms there was a performance regression
of about 10%. These changes make on the fly symbol generation faster and
are meant to help mitigate that.

name       old secs    new secs    delta
LinkCmdGo   0.55 ± 9%   0.53 ± 8%  -4.42%   (p=0.000 n=100+99)

name       old MaxRSS  new MaxRSS  delta
LinkCmdGo   152k ± 6%   149k ± 3%  -1.99%    (p=0.000 n=99+97)

Change-Id: Iacca3ec924ce401aa83126bc0b10fe89bedf0ba6
Reviewed-on: https://go-review.googlesource.com/21733
Run-TryBot: Shahar Kohanim <skohanim@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: David Crawshaw <crawshaw@golang.org>
src/cmd/link/internal/ld/data.go
src/cmd/link/internal/ld/dwarf.go
src/cmd/link/internal/ld/pcln.go
src/cmd/link/internal/ld/symtab.go