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

Issue 1376123004: Batch the batch compiler for tests (Closed)

Created:
5 years, 2 months ago by vsm
Modified:
5 years, 2 months ago
Reviewers:
Leaf, Jennifer Messerly
CC:
dev-compiler+reviews_dartlang.org
Base URL:
https://github.com/dart-lang/dev_compiler.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Batch the batch compiler for tests This: - Ensures that a given AST is processed once per context, avoiding AST caching issues and redundant work - Associates file errors with their library instead of the entry point - we now only generate these once across different entry points R=jmesserly@google.com Committed: https://github.com/dart-lang/dev_compiler/commit/5d29e22f94243a0de73f89af84cf7671bd6cde39

Patch Set 1 #

Patch Set 2 : Suppress regen #

Patch Set 3 : Fixes and cleanup #

Patch Set 4 : Cleanup #

Patch Set 5 : Cleanup format #

Patch Set 6 : Remove extra space #

Patch Set 7 : Flush on demand #

Total comments: 1

Patch Set 8 : rebase #

Total comments: 14

Patch Set 9 : Reorder for better analyzer caching #

Total comments: 3

Patch Set 10 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+131 lines, -250 lines) Patch
M lib/src/checker/checker.dart View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M lib/src/compiler.dart View 1 2 3 4 5 6 7 8 9 7 chunks +94 lines, -28 lines 0 comments Download
M test/codegen/expect/DeltaBlue.txt View 1 2 5 1 chunk +0 lines, -1 line 0 comments Download
D test/codegen/expect/html_input.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M test/codegen/expect/sunflower/sunflower.txt View 1 2 5 1 chunk +1 line, -1 line 0 comments Download
M test/codegen/expect/syncstar_syntax.txt View 1 2 5 1 chunk +0 lines, -3 lines 0 comments Download
M test/codegen/expect/unittest.txt View 1 2 5 1 chunk +0 lines, -190 lines 0 comments Download
M test/codegen_test.dart View 1 2 3 4 5 7 chunks +31 lines, -26 lines 0 comments Download

Messages

Total messages: 7 (1 generated)
vsm
5 years, 2 months ago (2015-10-02 17:31:06 UTC) #2
Jennifer Messerly
Really nice change overall. Some design thoughts, feel free to ping me. https://codereview.chromium.org/1376123004/diff/120001/lib/src/compiler.dart File lib/src/compiler.dart ...
5 years, 2 months ago (2015-10-02 18:22:36 UTC) #3
vsm
Thanks - PTAL https://codereview.chromium.org/1376123004/diff/140001/lib/src/compiler.dart File lib/src/compiler.dart (right): https://codereview.chromium.org/1376123004/diff/140001/lib/src/compiler.dart#newcode154 lib/src/compiler.dart:154: assert(_compilationRecord.containsKey(library) && On 2015/10/02 18:22:36, John ...
5 years, 2 months ago (2015-10-02 20:17:32 UTC) #4
Jennifer Messerly
Not sure if you saw these comments: https://codereview.chromium.org/1376123004/diff/160001/test/codegen_test.dart LGTM though, definitely a huge improvement already ...
5 years, 2 months ago (2015-10-02 21:02:43 UTC) #5
vsm
Committed patchset #10 (id:180001) manually as 5d29e22f94243a0de73f89af84cf7671bd6cde39 (presubmit successful).
5 years, 2 months ago (2015-10-02 21:11:39 UTC) #6
Jennifer Messerly
5 years, 2 months ago (2015-10-02 21:16:22 UTC) #7
Message was sent while issue was closed.
SGTM. Thanks!

Powered by Google App Engine
This is Rietveld 408576698