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

Issue 784513002: DevTools: speed up DevToolsUIBindings::DispatchProtocolMessage (Closed)

Created:
6 years ago by loislo
Modified:
6 years ago
Reviewers:
dgozman, pfeldman, yurys
CC:
chromium-reviews, vsevik, yurys, paulirish+reviews_chromium.org, devtools-reviews_chromium.org, aandrey+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

DevTools: speed up DevToolsUIBindings::DispatchProtocolMessage Old implementation cost us 11s of cpu time per 442Mb of messages. BUG= Committed: https://crrev.com/df966200b2f301e63e1cfe4124753dcbc7571af3 Cr-Commit-Position: refs/heads/master@{#309164}

Patch Set 1 #

Total comments: 2

Patch Set 2 : comments addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -9 lines) Patch
M chrome/browser/devtools/devtools_ui_bindings.cc View 1 2 chunks +5 lines, -3 lines 0 comments Download
M content/shell/browser/shell_devtools_frontend.cc View 1 2 chunks +21 lines, -6 lines 0 comments Download

Messages

Total messages: 13 (2 generated)
loislo
6 years ago (2014-12-05 12:45:47 UTC) #2
yurys
https://codereview.chromium.org/784513002/diff/1/chrome/browser/devtools/devtools_ui_bindings.cc File chrome/browser/devtools/devtools_ui_bindings.cc (right): https://codereview.chromium.org/784513002/diff/1/chrome/browser/devtools/devtools_ui_bindings.cc#newcode453 chrome/browser/devtools/devtools_ui_bindings.cc:453: "DevToolsAPI.dispatchMessage(" + message + ");"); Content shell implementation should ...
6 years ago (2014-12-05 13:03:30 UTC) #3
dgozman
Please change shell_devtools_frontend as well, so tests are identical to production. Btw, did you measure ...
6 years ago (2014-12-05 13:04:05 UTC) #4
loislo
On 2014/12/05 13:04:05, dgozman wrote: > Please change shell_devtools_frontend as well, so tests are identical ...
6 years ago (2014-12-05 13:11:04 UTC) #5
loislo
https://codereview.chromium.org/784513002/diff/1/chrome/browser/devtools/devtools_ui_bindings.cc File chrome/browser/devtools/devtools_ui_bindings.cc (right): https://codereview.chromium.org/784513002/diff/1/chrome/browser/devtools/devtools_ui_bindings.cc#newcode453 chrome/browser/devtools/devtools_ui_bindings.cc:453: "DevToolsAPI.dispatchMessage(" + message + ");"); On 2014/12/05 13:03:30, yurys ...
6 years ago (2014-12-05 13:11:26 UTC) #6
pfeldman
But this does not help us - large messages are still double-escaped while small ones ...
6 years ago (2014-12-12 12:27:01 UTC) #7
loislo
On 2014/12/12 12:27:01, pfeldman wrote: > But this does not help us - large messages ...
6 years ago (2014-12-13 19:33:38 UTC) #8
pfeldman
lgtm
6 years ago (2014-12-18 15:25:53 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/784513002/20001
6 years ago (2014-12-19 06:24:55 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
6 years ago (2014-12-19 07:51:47 UTC) #12
commit-bot: I haz the power
6 years ago (2014-12-19 07:52:37 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/df966200b2f301e63e1cfe4124753dcbc7571af3
Cr-Commit-Position: refs/heads/master@{#309164}

Powered by Google App Engine
This is Rietveld 408576698