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

Issue 2997233002: Update defer loading algorithm: (Closed)

Created:
3 years, 4 months ago by Siggi Cherem (dart-lang)
Modified:
3 years, 3 months ago
Reviewers:
sra1
CC:
reviews_dartlang.org, Johnni Winther
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Update defer loading algorithm: On a large app this cuts the algorithm time in half. BUG= R=sra@google.com Committed: https://github.com/dart-lang/sdk/commit/cf19b1e5aa3798b87b8ecdf482f83815c97e89c8

Patch Set 1 #

Total comments: 28

Patch Set 2 : cl comments, bug fixes, rebase #

Total comments: 4

Patch Set 3 : follow up comments #

Patch Set 4 : follow up comments + ensure sorted output #

Unified diffs Side-by-side diffs Delta from patch set Stats (+608 lines, -336 lines) Patch
M pkg/compiler/lib/src/deferred_load.dart View 1 2 3 18 chunks +584 lines, -317 lines 0 comments Download
M pkg/compiler/lib/src/dump_info.dart View 1 1 chunk +1 line, -2 lines 0 comments Download
M tests/compiler/dart2js/serialization/model_test_helper.dart View 1 3 chunks +23 lines, -17 lines 0 comments Download

Messages

Total messages: 22 (15 generated)
Siggi Cherem (dart-lang)
3 years, 4 months ago (2017-08-18 21:04:40 UTC) #10
sra1
https://codereview.chromium.org/2997233002/diff/160001/pkg/compiler/lib/src/deferred_load.dart File pkg/compiler/lib/src/deferred_load.dart (right): https://codereview.chromium.org/2997233002/diff/160001/pkg/compiler/lib/src/deferred_load.dart#newcode789 pkg/compiler/lib/src/deferred_load.dart:789: // Add `main` and their recursive dependencies to the ...
3 years, 4 months ago (2017-08-18 23:42:29 UTC) #11
Siggi Cherem (dart-lang)
Thanks Stephen! I finally addressed all the comments and fixed some subtle bugs I introduced ...
3 years, 3 months ago (2017-08-28 16:57:15 UTC) #16
sra1
lgtm https://codereview.chromium.org/2997233002/diff/260001/pkg/compiler/lib/src/deferred_load.dart File pkg/compiler/lib/src/deferred_load.dart (right): https://codereview.chromium.org/2997233002/diff/260001/pkg/compiler/lib/src/deferred_load.dart#newcode723 pkg/compiler/lib/src/deferred_load.dart:723: sortedOutputUnits.sort((a, b) => -a.compareTo(b)); Could also be b.compareTo(a) ...
3 years, 3 months ago (2017-08-28 22:38:09 UTC) #17
Siggi Cherem (dart-lang)
Thanks Stephen! /cc Johnni who expressed interest in taking a look at some point. https://codereview.chromium.org/2997233002/diff/260001/pkg/compiler/lib/src/deferred_load.dart ...
3 years, 3 months ago (2017-08-28 23:18:23 UTC) #19
Siggi Cherem (dart-lang)
we talked offline, but I verified now that the output has no semantic changes. I'm ...
3 years, 3 months ago (2017-08-28 23:26:50 UTC) #20
Siggi Cherem (dart-lang)
3 years, 3 months ago (2017-08-28 23:44:30 UTC) #22
Message was sent while issue was closed.
Committed patchset #4 (id:320001) manually as
cf19b1e5aa3798b87b8ecdf482f83815c97e89c8 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698