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

Issue 1197133004: Add support for snapshot loading to Sky (Closed)

Created:
5 years, 6 months ago by abarth-chromium
Modified:
5 years, 6 months ago
Reviewers:
eseidel
CC:
gregsimon, jackson_old, mojo-reviews_chromium.org, qsr+mojo_chromium.org
Base URL:
git@github.com:domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Add support for snapshot loading to Sky This CL adds the ability to load Dart snapshot files created by sky_packager in Sky. Using a snapshot lets us transmit all the code for an app in a single blob and should improve startup time. Later CLs will make this codepath easier to use and evaluate performance. R=eseidel@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/0c171c480b0dc35add78dac60832e8567f9d7435

Patch Set 1 #

Total comments: 10

Patch Set 2 : Added TODOs #

Patch Set 3 : Fix mirror-system.sky #

Unified diffs Side-by-side diffs Delta from patch set Stats (+176 lines, -25 lines) Patch
M mojo/tools/mojodb View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M sky/engine/core/core.gni View 1 chunk +2 lines, -0 lines 0 comments Download
M sky/engine/core/script/dart_controller.h View 3 chunks +4 lines, -0 lines 0 comments Download
M sky/engine/core/script/dart_controller.cc View 1 2 7 chunks +39 lines, -9 lines 0 comments Download
A sky/engine/core/script/dart_snapshot_loader.h View 1 chunk +55 lines, -0 lines 0 comments Download
A sky/engine/core/script/dart_snapshot_loader.cc View 1 chunk +66 lines, -0 lines 0 comments Download
M sky/engine/public/sky/sky_view.cc View 2 chunks +7 lines, -2 lines 0 comments Download
M sky/engine/web/WebViewImpl.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M sky/tools/packager/loader.h View 1 chunk +0 lines, -1 line 0 comments Download
M sky/tools/packager/loader.cc View 2 chunks +0 lines, -11 lines 0 comments Download
M sky/tools/packager/vm.cc View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 8 (0 generated)
abarth-chromium
5 years, 6 months ago (2015-06-23 05:56:56 UTC) #1
abarth-chromium
(Don't worry about the red boxes---this CL depends on some earlier ones that haven't landed.)
5 years, 6 months ago (2015-06-23 06:02:01 UTC) #2
eseidel
lgtm Why the sky internals removal? https://codereview.chromium.org/1197133004/diff/1/sky/engine/core/script/dart_controller.cc File sky/engine/core/script/dart_controller.cc (right): https://codereview.chromium.org/1197133004/diff/1/sky/engine/core/script/dart_controller.cc#newcode314 sky/engine/core/script/dart_controller.cc:314: // Ensure the ...
5 years, 6 months ago (2015-06-23 06:21:39 UTC) #3
abarth-chromium
https://codereview.chromium.org/1197133004/diff/1/sky/engine/core/script/dart_controller.cc File sky/engine/core/script/dart_controller.cc (right): https://codereview.chromium.org/1197133004/diff/1/sky/engine/core/script/dart_controller.cc#newcode314 sky/engine/core/script/dart_controller.cc:314: // Ensure the isolate has a root library. On ...
5 years, 6 months ago (2015-06-23 14:50:43 UTC) #4
abarth-chromium
On 2015/06/23 at 14:50:43, abarth wrote: > https://codereview.chromium.org/1197133004/diff/1/sky/engine/core/script/dart_controller.cc > File sky/engine/core/script/dart_controller.cc (right): > > https://codereview.chromium.org/1197133004/diff/1/sky/engine/core/script/dart_controller.cc#newcode314 ...
5 years, 6 months ago (2015-06-23 15:15:30 UTC) #5
eseidel
lgtm https://codereview.chromium.org/1197133004/diff/1/sky/engine/core/script/dart_controller.cc File sky/engine/core/script/dart_controller.cc (right): https://codereview.chromium.org/1197133004/diff/1/sky/engine/core/script/dart_controller.cc#newcode314 sky/engine/core/script/dart_controller.cc:314: // Ensure the isolate has a root library. ...
5 years, 6 months ago (2015-06-23 16:02:03 UTC) #6
abarth-chromium
On 2015/06/23 at 16:02:03, eseidel wrote: > My recollection was it was needed because of ...
5 years, 6 months ago (2015-06-23 16:13:02 UTC) #7
abarth-chromium
5 years, 6 months ago (2015-06-24 01:40:07 UTC) #8
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
0c171c480b0dc35add78dac60832e8567f9d7435 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698