• bratell's avatar
    Make the statistics generation data driven. · cc362227
    bratell authored
    StatisticsExtension::GetCounters() has grown to repeat a lot of code
    so to make it more maintainable and generate less machine code,
    make it data driven. This makes a 64 bit Linux build 50 KB smaller.
    
    Total change: -51677 bytes
    ==========================
      1 shrunk, for a net change of -51677 bytes (64222 bytes before, 12545 bytes after) across 1 sources
      279691 unchanged, totalling 51423668 bytes
    
    Per-source Analysis:
    
    -------------------------------------------------------------------------------------------------------------------
     -51677 - Source: /home/bratell/src/chromium/src/v8/src/extensions/statistics-extension.cc - (gained 0, lost 51677)
    -------------------------------------------------------------------------------------------------------------------
      Shrunk symbols:
         -51677: v8::internal::StatisticsExtension::GetCounters(v8::FunctionCallbackInfo<v8::Value> const&) type=t, (was 64222 bytes, now 12545 bytes)
    
    BUG=
    
    Review URL: https://codereview.chromium.org/912413003
    
    Cr-Commit-Position: refs/heads/master@{#26640}
    cc362227
Name
Last commit
Last update
benchmarks Loading commit data...
build Loading commit data...
include Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
testing Loading commit data...
third_party/binutils Loading commit data...
tools Loading commit data...
.clang-format Loading commit data...
.gitignore Loading commit data...
.ycm_extra_conf.py Loading commit data...
AUTHORS Loading commit data...
BUILD.gn Loading commit data...
ChangeLog Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
Makefile Loading commit data...
Makefile.android Loading commit data...
Makefile.nacl Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
README.md Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...