DescriptionDifferent 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
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284698
Patch Set 1 : HPack: shrink table #Patch Set 2 : 97% smaller hpack constant table. Now with more comments. #
Messages
Total messages: 13 (0 generated)
|