Chromium Code Reviews
DescriptionRemove threading primitives from ParseHTMLOnMainThread
This patch removes locks from ParsedChunkQueue, and use
of crossThreadBind in HTMLDocumentParser/BackgroundHTMLParser,
which introduces unecessary copies if we're not actually crossing
threads.
BUG=627198
Review-Url: https://codereview.chromium.org/2134323002
Cr-Commit-Position: refs/heads/master@{#405139}
(cherry picked from commit 0b4376118260f28c64433db1002e23ed8c663cb0)
Add an experiment group via Settings to tokenize synchronously
This patch adds an experiment group that tokenizes synchronously
on the main thread in response to a recieve data IPC.
If this regresses performance, we can augment the CL slightly
to only synchronously tokenize when the main parser has no
work.
BUG=627161
Review-Url: https://codereview.chromium.org/2139703003
Cr-Commit-Position: refs/heads/master@{#405035}
(cherry picked from commit 2fcf4bab78301b1c7b64b1b47547e7e5a70da65f)
NOPRESUBMIT=true
TBR=kouhei@chromium.org,kinuko@chromium.org
NOTRY=true
Patch Set 1 #Messages
Total messages: 12 (6 generated)
|