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

Issue 9616055: Make a process-wide cache for the v8::Value representation of extension APIs. (Closed)

Created:
8 years, 9 months ago by not at google - send to devlin
Modified:
8 years, 9 months ago
CC:
chromium-reviews, darin-cc_chromium.org, mihaip+watch_chromium.org, brettw-cc_chromium.org, Mads Ager (chromium)
Visibility:
Public.

Description

Make a process-wide cache for the v8::Value representation of extension APIs. TEST=browser_tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=127939

Patch Set 1 #

Patch Set 2 : . #

Total comments: 6

Patch Set 3 : aa #

Patch Set 4 : Don't use v8::Persistent #

Patch Set 5 : rebase, go back to old method #

Unified diffs Side-by-side diffs Delta from patch set Stats (+110 lines, -55 lines) Patch
M chrome/chrome_renderer.gypi View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/renderer/extensions/extension_dispatcher.h View 1 2 3 chunks +7 lines, -0 lines 0 comments Download
M chrome/renderer/extensions/schema_generated_bindings.cc View 1 2 3 4 3 chunks +1 line, -55 lines 0 comments Download
A chrome/renderer/extensions/v8_schema_registry.h View 4 1 chunk +44 lines, -0 lines 0 comments Download
A chrome/renderer/extensions/v8_schema_registry.cc View 1 2 3 4 1 chunk +56 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
not at google - send to devlin
Same deal as the other patch -- this depends on http://codereview.chromium.org/9460002/
8 years, 9 months ago (2012-03-07 10:07:22 UTC) #1
Aaron Boodman
lgtm https://chromiumcodereview.appspot.com/9616055/diff/5001/chrome/renderer/extensions/extension_dispatcher.h File chrome/renderer/extensions/extension_dispatcher.h (right): https://chromiumcodereview.appspot.com/9616055/diff/5001/chrome/renderer/extensions/extension_dispatcher.h#newcode205 chrome/renderer/extensions/extension_dispatcher.h:205: // Process-wide (since ExtensionDispatcher is process wide) cache ...
8 years, 9 months ago (2012-03-07 21:07:10 UTC) #2
not at google - send to devlin
http://codereview.chromium.org/9616055/diff/5001/chrome/renderer/extensions/extension_dispatcher.h File chrome/renderer/extensions/extension_dispatcher.h (right): http://codereview.chromium.org/9616055/diff/5001/chrome/renderer/extensions/extension_dispatcher.h#newcode205 chrome/renderer/extensions/extension_dispatcher.h:205: // Process-wide (since ExtensionDispatcher is process wide) cache for ...
8 years, 9 months ago (2012-03-08 00:00:33 UTC) #3
not at google - send to devlin
Hi guys, PTAL. After debugging koz's performance regression with him (caused by the use of ...
8 years, 9 months ago (2012-03-12 07:02:17 UTC) #4
Aaron Boodman
Can you give me a pointer to more information about the performance problem?
8 years, 9 months ago (2012-03-12 07:09:47 UTC) #5
not at google - send to devlin
On 2012/03/12 07:09:47, Aaron Boodman wrote: > Can you give me a pointer to more ...
8 years, 9 months ago (2012-03-12 07:19:11 UTC) #6
koz (OOO until 15th September)
lgtm I'm not sure why there's such a big performance penalty for allocating Persistent cells. ...
8 years, 9 months ago (2012-03-13 00:27:56 UTC) #7
Aaron Boodman
+ager Mads, we were surprised to see that creating one persistent handle to a function ...
8 years, 9 months ago (2012-03-13 06:36:28 UTC) #8
Aaron Boodman
Here's the 70% spike, just for fun: http://build.chromium.org/f/chromium/perf/xp-release-dual-core/intl2/report.html?history=250&rev=-1 :-).
8 years, 9 months ago (2012-03-13 06:38:49 UTC) #9
Mads Ager (google)
Hi Aaron, I don't see anything in the code that gets rid of the Persistent ...
8 years, 9 months ago (2012-03-13 08:56:07 UTC) #10
Aaron Boodman
On Tue, Mar 13, 2012 at 1:56 AM, <ager@google.com> wrote: > I don't see anything ...
8 years, 9 months ago (2012-03-13 19:12:58 UTC) #11
Mads Ager (chromium)
On Tue, Mar 13, 2012 at 8:12 PM, Aaron Boodman <aa@chromium.org> wrote: > On Tue, ...
8 years, 9 months ago (2012-03-14 08:35:41 UTC) #12
not at google - send to devlin
Ok, rebased this change and went back to the old (originally LGTM'd way) of doing ...
8 years, 9 months ago (2012-03-21 09:41:42 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kalman@chromium.org/9616055/21002
8 years, 9 months ago (2012-03-21 09:41:52 UTC) #14
commit-bot: I haz the power
8 years, 9 months ago (2012-03-21 11:48:12 UTC) #15
Change committed as 127939

Powered by Google App Engine
This is Rietveld 408576698