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

Issue 11187028: Generate snapshot for dartj2s; use it in the SDK. (Closed)

Created:
8 years, 2 months ago by ahe
Modified:
8 years, 2 months ago
Reviewers:
dgrove, kasperl
CC:
reviews_dartlang.org, siva, dgrove, bakster
Visibility:
Public.

Description

Generate snapshot for dartj2s; use it in the SDK. Committed: https://code.google.com/p/dart/source/detail?r=13773

Patch Set 1 #

Total comments: 2

Patch Set 2 : Disable optimizations during gen_snapshot to work around crash #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -1 line) Patch
M dart/tools/create_sdk.py View 1 1 chunk +14 lines, -0 lines 0 comments Download
M dart/utils/compiler/build_helper.dart View 1 chunk +8 lines, -1 line 0 comments Download
M dart/utils/compiler/compiler.gyp View 1 1 chunk +26 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
ahe
8 years, 2 months ago (2012-10-17 12:53:37 UTC) #1
dgrove
LGTM! It'll be great to see this in action. https://codereview.chromium.org/11187028/diff/1/dart/utils/compiler/build_helper.dart File dart/utils/compiler/build_helper.dart (right): https://codereview.chromium.org/11187028/diff/1/dart/utils/compiler/build_helper.dart#newcode124 dart/utils/compiler/build_helper.dart:124: ...
8 years, 2 months ago (2012-10-17 12:59:17 UTC) #2
kasperl
LGTM.
8 years, 2 months ago (2012-10-17 13:00:38 UTC) #3
ahe
Thank you, Dan and Kasper for the quick review. I'm going to land this in ...
8 years, 2 months ago (2012-10-17 13:03:07 UTC) #4
ahe
Sadly, gen_snapshot crashes on Linux and in debug builds. I have filed http://dartbug.com/5989 :-(
8 years, 2 months ago (2012-10-17 13:44:46 UTC) #5
ahe
Wow! Siva already fixed this bug. I'll try to submit this CL tomorrow morning.
8 years, 2 months ago (2012-10-17 18:13:36 UTC) #6
ahe
On a Z620: Before: $ ./tools/test.py -mrelease -cdart2js -rd8 --use-sdk [09:59 | 100% | + ...
8 years, 2 months ago (2012-10-17 18:40:22 UTC) #7
ahe
8 years, 2 months ago (2012-10-17 20:19:05 UTC) #8
On my desktop Mac Pro (Quad-Core Intel Xeon 2,66 GHz).

Before:

$ ./tools/test.py -mrelease -cdart2js -rd8 --use-sdk
[47:58 | 100% | + 5467 | -    0]

After:

$ ./tools/test.py -mrelease -cdart2js -rd8 --use-sdk
[35:05 | 100% | + 5467 | -    0]

27% reduction in test time.

Powered by Google App Engine
This is Rietveld 408576698