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

Issue 11833016: Fix Sunspider performance regression (Closed)

Created:
7 years, 11 months ago by Fady Samuel
Modified:
7 years, 11 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Fix Sunspider performance regression For the purpose of updating <webview>'s name attribute, RenderViews report back to the browser process when window.name is mutated. It turns out this hurts Sunspider performance. This patch introduces a renderer preference that avoids the IPC in regular RenderViews. BUG=169028 Test=BrowserPluginHostTest.*, Sunspider Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=175993

Patch Set 1 #

Total comments: 4

Patch Set 2 : Added comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -1 line) Patch
M content/browser/browser_plugin/browser_plugin_embedder.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M content/common/view_messages.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/public/common/renderer_preferences.h View 1 1 chunk +8 lines, -0 lines 0 comments Download
M content/public/common/renderer_preferences.cc View 1 chunk +2 lines, -1 line 0 comments Download
M content/renderer/render_view_impl.cc View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Fady Samuel
Hi John, I introduced a performance regression while implementing the name attribute for <webview>. This ...
7 years, 11 months ago (2013-01-09 21:59:05 UTC) #1
jam
I think creis would be a better reviewer since he reviewed the original change
7 years, 11 months ago (2013-01-09 22:04:24 UTC) #2
Charlie Reis
This doesn't really fix the problem, does it? It means webview pages would be 14% ...
7 years, 11 months ago (2013-01-09 22:10:43 UTC) #3
Fady Samuel
On 2013/01/09 22:10:43, creis wrote: > This doesn't really fix the problem, does it? It ...
7 years, 11 months ago (2013-01-09 22:13:35 UTC) #4
Charlie Reis
On 2013/01/09 22:13:35, Fady Samuel wrote: > On 2013/01/09 22:10:43, creis wrote: > > This ...
7 years, 11 months ago (2013-01-09 22:19:46 UTC) #5
Charlie Reis
If we go forward with this, we should make it clear it's just temporary until ...
7 years, 11 months ago (2013-01-09 22:35:06 UTC) #6
Fady Samuel
PTAL +cdn for IPC audit. https://codereview.chromium.org/11833016/diff/1/content/browser/browser_plugin/browser_plugin_embedder.cc File content/browser/browser_plugin/browser_plugin_embedder.cc (right): https://codereview.chromium.org/11833016/diff/1/content/browser/browser_plugin/browser_plugin_embedder.cc#newcode140 content/browser/browser_plugin/browser_plugin_embedder.cc:140: // update the BrowserPlugin's ...
7 years, 11 months ago (2013-01-09 22:40:57 UTC) #7
Cris Neckar
IPC security audit LGTM
7 years, 11 months ago (2013-01-09 22:44:00 UTC) #8
Charlie Reis
LGTM.
7 years, 11 months ago (2013-01-09 22:46:35 UTC) #9
commit-bot: I haz the power
7 years, 11 months ago (2013-01-09 22:53:57 UTC) #10

Powered by Google App Engine
This is Rietveld 408576698