Different SPDY Hpack constant table for startup time and footprint (60KB).
The hpack constant table was 40-60 KB (gcc: 40 KB, clang: 60KB), for storing 2 KB of data. Not optimal. By making it an ordinary static data table we save 60 KB with clang: Total change: -64153 bytes ========================== 1 added, totalling +2056 bytes across 1 sources 1 removed, totalling -66215 bytes across 1 sources 1 grown, for a net change of +14 bytes (367 bytes before, 381 bytes after) across 1 sources 1 shrunk, for a net change of -8 bytes (10504 bytes before, 10496 bytes after) across 1 sources and save 40 KB with gcc: Total change: -41382 bytes ========================== 1 added, totalling +2056 bytes across 1 sources 2 removed, totalling -43597 bytes across 2 sources 1 grown, for a net change of +167 bytes (341 bytes before, 508 bytes after) across 1 sources 1 shrunk, for a net change of -8 bytes (10576 bytes before, 10568 bytes after) across 1 sources BUG=394269 Review URL: https://codereview.chromium.org/393573002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284698 0039d316-1c4b-4281-b951-d872f2087c98
Showing
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment