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

Issue 720783002: Optionally compress V8 code cache data with snappy. (Closed)

Created:
6 years, 1 month ago by Yang
Modified:
6 years, 1 month ago
CC:
arv+blink, blink-reviews, blink-reviews-bindings_chromium.org, dglazkov+blink
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 3

Patch Set 2 : fix for the default case #

Total comments: 3

Patch Set 3 : addressed comments #

Patch Set 4 : fix compression #

Patch Set 5 : snappy #

Total comments: 1

Patch Set 6 : added TODO #

Total comments: 2

Patch Set 7 : jochen's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -33 lines) Patch
M Source/bindings/core/DEPS View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M Source/bindings/core/v8/ScriptStreamer.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/core/v8/V8CacheOptions.h View 1 chunk +2 lines, -1 line 0 comments Download
M Source/bindings/core/v8/V8ScriptRunner.cpp View 1 2 3 4 5 4 chunks +53 lines, -30 lines 0 comments Download
M Source/bindings/core/v8/V8ScriptRunnerTest.cpp View 1 chunk +11 lines, -0 lines 0 comments Download
M Source/core/BUILD.gn View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/core.gyp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M Source/web/AssertMatchingEnums.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M public/web/WebSettings.h View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 24 (4 generated)
Yang
Corresponding Chrome CL is here: https://codereview.chromium.org/721683002/
6 years, 1 month ago (2014-11-12 13:17:07 UTC) #1
marja
https://codereview.chromium.org/720783002/diff/1/Source/bindings/core/v8/V8ScriptRunner.cpp File Source/bindings/core/v8/V8ScriptRunner.cpp (right): https://codereview.chromium.org/720783002/diff/1/Source/bindings/core/v8/V8ScriptRunner.cpp#newcode148 Source/bindings/core/v8/V8ScriptRunner.cpp:148: resource->setCachedMetadata(streamer->cachedDataType(), reinterpret_cast<const char*>(newCachedData->data), newCachedData->length, Resource::CacheLocally); This needs to be ...
6 years, 1 month ago (2014-11-12 14:09:37 UTC) #3
marja
https://codereview.chromium.org/720783002/diff/1/Source/bindings/core/v8/V8ScriptRunner.cpp File Source/bindings/core/v8/V8ScriptRunner.cpp (right): https://codereview.chromium.org/720783002/diff/1/Source/bindings/core/v8/V8ScriptRunner.cpp#newcode96 Source/bindings/core/v8/V8ScriptRunner.cpp:96: CachedMetadata* cachedMetadata = resource->cachedMetadata(cacheTag); Actually... doesn't this break... so ...
6 years, 1 month ago (2014-11-12 14:11:43 UTC) #4
Yang
On 2014/11/12 14:11:43, marja wrote: > https://codereview.chromium.org/720783002/diff/1/Source/bindings/core/v8/V8ScriptRunner.cpp > File Source/bindings/core/v8/V8ScriptRunner.cpp (right): > > https://codereview.chromium.org/720783002/diff/1/Source/bindings/core/v8/V8ScriptRunner.cpp#newcode96 > ...
6 years, 1 month ago (2014-11-12 14:17:36 UTC) #5
jochen (gone - plz use gerrit)
https://codereview.chromium.org/720783002/diff/20001/Source/bindings/core/v8/ScriptStreamer.cpp File Source/bindings/core/v8/ScriptStreamer.cpp (right): https://codereview.chromium.org/720783002/diff/20001/Source/bindings/core/v8/ScriptStreamer.cpp#newcode548 Source/bindings/core/v8/ScriptStreamer.cpp:548: if (settings->v8CacheOptions() == V8CacheOptionsCode nit. everything in one line. ...
6 years, 1 month ago (2014-11-12 15:04:41 UTC) #6
vogelheim
lgtm lgtm (with Jochen's comments. I think he and/or Marja need to owner-approve this anyhow.) ...
6 years, 1 month ago (2014-11-12 18:53:52 UTC) #7
haraken
> https://codereview.chromium.org/720783002/diff/1/Source/bindings/core/v8/V8ScriptRunner.cpp#newcode96 > Source/bindings/core/v8/V8ScriptRunner.cpp:96: CachedMetadata* cachedMetadata = > resource->cachedMetadata(cacheTag); > On 2014/11/12 14:11:43, marja wrote: ...
6 years, 1 month ago (2014-11-13 01:31:27 UTC) #8
Yang
On 2014/11/13 01:31:27, haraken wrote: > > > https://codereview.chromium.org/720783002/diff/1/Source/bindings/core/v8/V8ScriptRunner.cpp#newcode96 > > Source/bindings/core/v8/V8ScriptRunner.cpp:96: CachedMetadata* cachedMetadata > ...
6 years, 1 month ago (2014-11-13 08:57:45 UTC) #9
haraken
On 2014/11/13 08:57:45, Yang wrote: > On 2014/11/13 01:31:27, haraken wrote: > > > > ...
6 years, 1 month ago (2014-11-13 09:29:15 UTC) #10
marja
And wdyt about my previous comment about the streaming code path now never producing compressed ...
6 years, 1 month ago (2014-11-13 09:36:30 UTC) #11
Yang
On 2014/11/13 09:36:30, marja wrote: > And wdyt about my previous comment about the streaming ...
6 years, 1 month ago (2014-11-13 13:03:12 UTC) #12
marja
lgtm otherwise https://codereview.chromium.org/720783002/diff/80001/Source/bindings/core/v8/V8ScriptRunner.cpp File Source/bindings/core/v8/V8ScriptRunner.cpp (right): https://codereview.chromium.org/720783002/diff/80001/Source/bindings/core/v8/V8ScriptRunner.cpp#newcode151 Source/bindings/core/v8/V8ScriptRunner.cpp:151: writeToCache(resource, streamer->cachedDataType(), Resource::CacheLocally, newCachedData, compressed); So this ...
6 years, 1 month ago (2014-11-13 13:15:09 UTC) #13
Yang
On 2014/11/13 13:15:09, marja wrote: > lgtm otherwise > > https://codereview.chromium.org/720783002/diff/80001/Source/bindings/core/v8/V8ScriptRunner.cpp > File Source/bindings/core/v8/V8ScriptRunner.cpp (right): ...
6 years, 1 month ago (2014-11-13 13:20:03 UTC) #14
marja
idk; on one hand, haraken@ and me are owners, but on the other hand, jochen@ ...
6 years, 1 month ago (2014-11-13 13:28:56 UTC) #15
jochen (gone - plz use gerrit)
lgtm with nits https://codereview.chromium.org/720783002/diff/100001/Source/bindings/core/DEPS File Source/bindings/core/DEPS (right): https://codereview.chromium.org/720783002/diff/100001/Source/bindings/core/DEPS#newcode10 Source/bindings/core/DEPS:10: "+third_party/snappy/src", nit third_party/snappy https://codereview.chromium.org/720783002/diff/100001/Source/core/BUILD.gn File Source/core/BUILD.gn ...
6 years, 1 month ago (2014-11-13 15:11:57 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/720783002/120001
6 years, 1 month ago (2014-11-13 15:43:33 UTC) #19
commit-bot: I haz the power
Committed patchset #7 (id:120001) as 185305
6 years, 1 month ago (2014-11-13 17:06:58 UTC) #20
Stephen White
On 2014/11/13 17:06:58, I haz the power (commit-bot) wrote: > Committed patchset #7 (id:120001) as ...
6 years, 1 month ago (2014-11-13 19:53:12 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/720783002/120001
6 years, 1 month ago (2014-11-18 05:30:49 UTC) #23
commit-bot: I haz the power
6 years, 1 month ago (2014-11-18 05:31:36 UTC) #24
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=185498

Powered by Google App Engine
This is Rietveld 408576698