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

Issue 988303003: Do not cache resource metadata if the source code size is small. (Closed)

Created:
5 years, 9 months ago by Yang
Modified:
5 years, 9 months ago
CC:
arv+blink, blink-reviews, blink-reviews-bindings_chromium.org, vivekg_samsung, vivekg, falken
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Do not cache resource metadata if the source code size is small. For small source code, parsing/compiling may be faster than deserializing. R=jochen@chromium.org, vogelheim@chromium.org BUG=chromium:399580 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=191554

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -5 lines) Patch
M Source/bindings/core/v8/V8ScriptRunner.cpp View 2 chunks +2 lines, -5 lines 1 comment Download

Messages

Total messages: 12 (2 generated)
Yang
5 years, 9 months ago (2015-03-09 12:45:28 UTC) #1
vogelheim
lgtm
5 years, 9 months ago (2015-03-09 14:30:45 UTC) #2
jochen (gone - plz use gerrit)
lgtm
5 years, 9 months ago (2015-03-09 14:31:26 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/988303003/1
5 years, 9 months ago (2015-03-09 14:38:17 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://src.chromium.org/viewvc/blink?view=rev&revision=191554
5 years, 9 months ago (2015-03-09 16:03:52 UTC) #6
jbroman
A revert of this CL (patchset #1 id:1) has been created in https://codereview.chromium.org/992003003/ by jbroman@chromium.org. ...
5 years, 9 months ago (2015-03-09 19:59:55 UTC) #7
Yang
On 2015/03/09 19:59:55, jbroman wrote: > A revert of this CL (patchset #1 id:1) has ...
5 years, 9 months ago (2015-03-09 21:22:09 UTC) #8
Yang
The reason is that the failing test runs a small ServiceWorker script and waits for ...
5 years, 9 months ago (2015-03-09 21:22:48 UTC) #9
falken
You and horo@ know more than me about this.. but I feel it's better to ...
5 years, 9 months ago (2015-03-10 00:54:05 UTC) #11
horo
5 years, 9 months ago (2015-03-10 01:12:40 UTC) #12
Message was sent while issue was closed.
On 2015/03/09 21:22:48, Yang wrote:
> The reason is that the failing test runs a small ServiceWorker script and
waits
> for it to be cached. With this change, it never happens.
> 
> horo@, falken@, do you have a suggestion how to fix this? We could make the
> script size larger by inserting comments, but that does not scale if we decide
> to increase the size limit. Alternatively, I could change this CL to ignore
the
> limit for the "code" option, but honor it for other options. WDYT?

How about adding "force-cache" mode?
Isn't it acceptable?

Powered by Google App Engine
This is Rietveld 408576698