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

Issue 1995763003: Build top-level variables and property accessors lazily. (Closed)

Created:
4 years, 7 months ago by scheglov
Modified:
4 years, 7 months ago
CC:
reviews_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Build top-level variables and property accessors lazily. This makes DDC compilation of the latest big test codebase about 25% faster - from 2900 ms to 2196 ms. We also have to compute lazily public and export namespaces. R=paulberry@google.com, brianwilkerson@google.com BUG= Committed: https://github.com/dart-lang/sdk/commit/54e58c7a44db289d2803bebe3162fb3cf65e4add

Patch Set 1 #

Total comments: 19

Patch Set 2 : Fixes for review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+513 lines, -163 lines) Patch
M pkg/analyzer/lib/src/dart/element/element.dart View 1 26 chunks +271 lines, -21 lines 0 comments Download
M pkg/analyzer/lib/src/summary/resynthesize.dart View 1 18 chunks +230 lines, -136 lines 0 comments Download
M pkg/analyzer/test/src/summary/resynthesize_test.dart View 1 2 chunks +12 lines, -6 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
scheglov
4 years, 7 months ago (2016-05-19 04:42:23 UTC) #1
Paul Berry
https://codereview.chromium.org/1995763003/diff/1/pkg/analyzer/lib/src/dart/element/element.dart File pkg/analyzer/lib/src/dart/element/element.dart (left): https://codereview.chromium.org/1995763003/diff/1/pkg/analyzer/lib/src/dart/element/element.dart#oldcode1232 pkg/analyzer/lib/src/dart/element/element.dart:1232: Nit: restore this blank line. https://codereview.chromium.org/1995763003/diff/1/pkg/analyzer/lib/src/dart/element/element.dart File pkg/analyzer/lib/src/dart/element/element.dart (right): ...
4 years, 7 months ago (2016-05-19 11:27:30 UTC) #2
scheglov
PTAL https://codereview.chromium.org/1995763003/diff/1/pkg/analyzer/lib/src/dart/element/element.dart File pkg/analyzer/lib/src/dart/element/element.dart (right): https://codereview.chromium.org/1995763003/diff/1/pkg/analyzer/lib/src/dart/element/element.dart#newcode1301 pkg/analyzer/lib/src/dart/element/element.dart:1301: implicitAccessor.enclosingElement = this; On 2016/05/19 11:27:30, Paul Berry ...
4 years, 7 months ago (2016-05-19 16:54:57 UTC) #3
Paul Berry
lgtm, thanks!
4 years, 7 months ago (2016-05-19 17:10:32 UTC) #4
scheglov
4 years, 7 months ago (2016-05-19 17:12:41 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
54e58c7a44db289d2803bebe3162fb3cf65e4add (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698