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

Issue 315813003: Support using a mock SDK with the resolver in code-transformers, and switch (Closed)

Created:
6 years, 6 months ago by Siggi Cherem (dart-lang)
Modified:
6 years, 6 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Support using a mock SDK with the resolver in code-transformers, and switch polymer to do so. This makes TodoMVC compile in 2.8s instead of 4.8s on my machine. R=blois@google.com, jmesserly@google.com Committed: https://code.google.com/p/dart/source/detail?r=37026

Patch Set 1 : #

Total comments: 10

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+262 lines, -104 lines) Patch
M pkg/code_transformers/lib/src/dart_sdk.dart View 1 2 chunks +176 lines, -0 lines 0 comments Download
M pkg/code_transformers/lib/src/resolver_impl.dart View 6 chunks +8 lines, -95 lines 0 comments Download
M pkg/code_transformers/lib/src/resolvers.dart View 1 3 chunks +20 lines, -3 lines 0 comments Download
M pkg/code_transformers/pubspec.yaml View 1 1 chunk +1 line, -1 line 0 comments Download
M pkg/code_transformers/test/resolver_test.dart View 1 1 chunk +14 lines, -2 lines 0 comments Download
M pkg/polymer/lib/src/build/script_compactor.dart View 1 1 chunk +41 lines, -1 line 0 comments Download
M pkg/polymer/pubspec.yaml View 1 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Siggi Cherem (dart-lang)
https://codereview.chromium.org/315813003/diff/40001/pkg/code_transformers/lib/src/dart_sdk.dart File pkg/code_transformers/lib/src/dart_sdk.dart (right): https://codereview.chromium.org/315813003/diff/40001/pkg/code_transformers/lib/src/dart_sdk.dart#newcode58 pkg/code_transformers/lib/src/dart_sdk.dart:58: abstract class UriAnnotatedSource extends Source { this interface is ...
6 years, 6 months ago (2014-06-04 02:26:59 UTC) #1
Siggi Cherem (dart-lang)
I'm not sure how brittle this is going to be. I'm playing around with some ...
6 years, 6 months ago (2014-06-04 02:28:33 UTC) #2
Jennifer Messerly
lgtm https://codereview.chromium.org/315813003/diff/40001/pkg/polymer/lib/src/build/script_compactor.dart File pkg/polymer/lib/src/build/script_compactor.dart (right): https://codereview.chromium.org/315813003/diff/40001/pkg/polymer/lib/src/build/script_compactor.dart#newcode53 pkg/polymer/lib/src/build/script_compactor.dart:53: 'dart:core': ''' just curious, how was this list ...
6 years, 6 months ago (2014-06-04 04:17:39 UTC) #3
blois
https://codereview.chromium.org/315813003/diff/40001/pkg/code_transformers/lib/src/dart_sdk.dart File pkg/code_transformers/lib/src/dart_sdk.dart (right): https://codereview.chromium.org/315813003/diff/40001/pkg/code_transformers/lib/src/dart_sdk.dart#newcode184 pkg/code_transformers/lib/src/dart_sdk.dart:184: final int modificationStamp = new DateTime.now().millisecondsSinceEpoch; Can just do ...
6 years, 6 months ago (2014-06-04 16:31:21 UTC) #4
Siggi Cherem (dart-lang)
Thanks https://codereview.chromium.org/315813003/diff/40001/pkg/code_transformers/lib/src/dart_sdk.dart File pkg/code_transformers/lib/src/dart_sdk.dart (right): https://codereview.chromium.org/315813003/diff/40001/pkg/code_transformers/lib/src/dart_sdk.dart#newcode184 pkg/code_transformers/lib/src/dart_sdk.dart:184: final int modificationStamp = new DateTime.now().millisecondsSinceEpoch; On 2014/06/04 ...
6 years, 6 months ago (2014-06-04 21:25:18 UTC) #5
Siggi Cherem (dart-lang)
BTW, I did a small change to not throw when a library is missing, but ...
6 years, 6 months ago (2014-06-05 00:54:34 UTC) #6
blois
lgtm
6 years, 6 months ago (2014-06-05 01:11:51 UTC) #7
Siggi Cherem (dart-lang)
6 years, 6 months ago (2014-06-05 01:48:04 UTC) #8
Message was sent while issue was closed.
Committed patchset #2 manually as r37026 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698