• Josh Bleecher Snyder's avatar
    cmd/compile: cache const nil, iface, slice, and "" · 39214275
    Josh Bleecher Snyder authored
    name      old time/op    new time/op    delta
    Template     441ms ± 4%     446ms ± 4%  +1.23%  (p=0.048 n=22+25)
    GoTypes      1.51s ± 2%     1.51s ± 2%    ~     (p=0.224 n=25+25)
    Compiler     5.59s ± 1%     5.57s ± 2%  -0.38%  (p=0.019 n=24+24)
    
    name      old alloc/op   new alloc/op   delta
    Template    85.6MB ± 0%    85.6MB ± 0%  -0.11%  (p=0.000 n=25+24)
    GoTypes      307MB ± 0%     305MB ± 0%  -0.45%  (p=0.000 n=25+25)
    Compiler    1.06GB ± 0%    1.06GB ± 0%  -0.34%  (p=0.000 n=25+25)
    
    name      old allocs/op  new allocs/op  delta
    Template     1.10M ± 0%     1.10M ± 0%  -0.03%  (p=0.001 n=25+24)
    GoTypes      3.36M ± 0%     3.35M ± 0%  -0.13%  (p=0.000 n=25+25)
    Compiler     13.0M ± 0%     13.0M ± 0%  -0.12%  (p=0.000 n=25+24)
    
    Change-Id: I7fc18acbc3b1588aececef9692e24a0bd3dba974
    Reviewed-on: https://go-review.googlesource.com/20295
    Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarKeith Randall <khr@golang.org>
    39214275
TODO 1.94 KB