Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(476)

Issue 243153003: HPACK optimal Huffman code instrumentation and UMA collection. (Closed)

Created:
6 years, 8 months ago by Johnny
Modified:
6 years, 7 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, asvitkine+watch_chromium.org
Visibility:
Public.

Description

HPACK optimal Huffman code instrumentation and UMA collection. Adds support for aggregating observed character counts in literals emitted by a per-origin HPACK encoder. This is intended to approximate the literal encodings which would be used were the user agent speaking HTTP/2 to the origin. Character counts sampled and aggregated across a population will be used to design an optimial static Huffman compression table for the HTTP/2 standard. See design doc: https://docs.google.com/a/google.com/document/d/1Y6pnBf8u24AHNFcA6GADn2XgHzfIvZiIN39Kf11raIY/edit# BUG=368301 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=267131

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rebase atop recent SPDY changes (including HPACK delta encoder). #

Patch Set 3 : Disable experiment by default; raise publish threshold to 50K characters. #

Total comments: 6

Patch Set 4 : Code review feedback & missing license header. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+548 lines, -1 line) Patch
M net/http/http_network_session.h View 3 chunks +7 lines, -0 lines 0 comments Download
M net/http/http_network_session.cc View 2 chunks +5 lines, -0 lines 0 comments Download
M net/http/http_network_transaction.cc View 2 chunks +9 lines, -0 lines 0 comments Download
M net/net.gypi View 1 2 chunks +3 lines, -0 lines 0 comments Download
M net/spdy/hpack_encoder.h View 1 3 chunks +11 lines, -0 lines 0 comments Download
M net/spdy/hpack_encoder.cc View 1 3 chunks +21 lines, -1 line 0 comments Download
M net/spdy/hpack_encoder_test.cc View 1 2 chunks +24 lines, -0 lines 0 comments Download
A net/spdy/hpack_huffman_aggregator.h View 1 2 3 1 chunk +74 lines, -0 lines 0 comments Download
A net/spdy/hpack_huffman_aggregator.cc View 1 2 1 chunk +180 lines, -0 lines 0 comments Download
A net/spdy/hpack_huffman_aggregator_test.cc View 1 2 3 1 chunk +204 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Johnny
Hi Ryan & Jim, I'll need to rebase this on top of other CL's I'm ...
6 years, 8 months ago (2014-04-18 18:06:27 UTC) #1
jar (doing other things)
Why are you using Huffman coding? All compressors leak info about content via length analysis.... ...
6 years, 8 months ago (2014-04-18 21:14:53 UTC) #2
Johnny
On 2014/04/18 21:14:53, jar wrote: > Why are you using Huffman coding? All compressors leak ...
6 years, 8 months ago (2014-04-18 21:42:21 UTC) #3
jar (doing other things)
On 2014/04/18 21:42:21, Johnny wrote: > On 2014/04/18 21:14:53, jar wrote: > > Why are ...
6 years, 8 months ago (2014-04-18 22:30:43 UTC) #4
Ryan Hamilton
lgtm
6 years, 8 months ago (2014-04-20 02:25:06 UTC) #5
Johnny
Thank you both. I'm working on merging upstream changes which I'd like to rebase this ...
6 years, 8 months ago (2014-04-21 23:00:43 UTC) #6
Johnny
Hi Ryan & Jim, This is ready for a last check before landing: I've rebased ...
6 years, 7 months ago (2014-04-29 17:06:08 UTC) #7
jar (doing other things)
LGTM % nits https://codereview.chromium.org/243153003/diff/70001/net/spdy/hpack_huffman_aggregator.h File net/spdy/hpack_huffman_aggregator.h (right): https://codereview.chromium.org/243153003/diff/70001/net/spdy/hpack_huffman_aggregator.h#newcode62 net/spdy/hpack_huffman_aggregator.h:62: typedef std::list<OriginEncoder> OriginEncoders; nit: move typedefs ...
6 years, 7 months ago (2014-04-29 18:40:18 UTC) #8
Johnny
Thanks https://codereview.chromium.org/243153003/diff/70001/net/spdy/hpack_huffman_aggregator.h File net/spdy/hpack_huffman_aggregator.h (right): https://codereview.chromium.org/243153003/diff/70001/net/spdy/hpack_huffman_aggregator.h#newcode62 net/spdy/hpack_huffman_aggregator.h:62: typedef std::list<OriginEncoder> OriginEncoders; On 2014/04/29 18:40:19, jar wrote: ...
6 years, 7 months ago (2014-04-29 20:53:16 UTC) #9
Johnny
The CQ bit was checked by jgraettinger@chromium.org
6 years, 7 months ago (2014-04-29 22:30:27 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jgraettinger@chromium.org/243153003/90001
6 years, 7 months ago (2014-04-29 22:31:15 UTC) #11
commit-bot: I haz the power
6 years, 7 months ago (2014-04-30 08:06:45 UTC) #12
Message was sent while issue was closed.
Change committed as 267131

Powered by Google App Engine
This is Rietveld 408576698