• shaharko's avatar
    cmd/compile, cmd/link: more efficient typelink generation · d8d44528
    shaharko authored
    Instead of generating typelink symbols in the compiler
    mark types that should have typelinks with a flag.
    The linker detects this flag and adds the marked types
    to the typelink table.
    
    name            old s/op    new s/op    delta
    LinkCmdCompile   0.27 ± 6%   0.25 ± 6%  -6.93%    (p=0.000 n=97+98)
    LinkCmdGo        0.30 ± 5%   0.29 ±10%  -4.22%    (p=0.000 n=97+99)
    
    name            old MaxRSS  new MaxRSS  delta
    LinkCmdCompile   112k ± 3%   106k ± 2%  -4.85%  (p=0.000 n=100+100)
    LinkCmdGo        107k ± 3%   103k ± 3%  -3.00%  (p=0.000 n=100+100)
    
    Change-Id: Ic95dd4b0101e90c1fa262c9c6c03a2028d6b3623
    Reviewed-on: https://go-review.googlesource.com/31772
    Run-TryBot: Shahar Kohanim <skohanim@gmail.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarDavid Crawshaw <crawshaw@golang.org>
    d8d44528
Name
Last commit
Last update
..
addr2line Loading commit data...
api Loading commit data...
asm Loading commit data...
cgo Loading commit data...
compile Loading commit data...
cover Loading commit data...
dist Loading commit data...
doc Loading commit data...
fix Loading commit data...
go Loading commit data...
gofmt Loading commit data...
internal Loading commit data...
link Loading commit data...
nm Loading commit data...
objdump Loading commit data...
pack Loading commit data...
pprof Loading commit data...
trace Loading commit data...
vendor Loading commit data...
vet Loading commit data...