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

Issue 475093003: Precompile immutable globally-installed pub executables. (Closed)

Created:
6 years, 4 months ago by nweiz
Modified:
6 years, 3 months ago
Reviewers:
Bob Nystrom
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Precompile immutable globally-installed pub executables. R=rnystrom@google.com BUG=20483 Committed: https://code.google.com/p/dart/source/detail?r=39787

Patch Set 1 #

Patch Set 2 : #

Total comments: 31

Patch Set 3 : Code review changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+551 lines, -140 lines) Patch
M sdk/lib/_internal/pub/lib/src/barback/asset_environment.dart View 1 2 2 chunks +49 lines, -0 lines 0 comments Download
M sdk/lib/_internal/pub/lib/src/command/global_run.dart View 2 chunks +7 lines, -5 lines 0 comments Download
M sdk/lib/_internal/pub/lib/src/command/run.dart View 2 chunks +8 lines, -1 line 0 comments Download
M sdk/lib/_internal/pub/lib/src/entrypoint.dart View 1 6 chunks +37 lines, -81 lines 0 comments Download
M sdk/lib/_internal/pub/lib/src/executable.dart View 1 2 4 chunks +26 lines, -15 lines 0 comments Download
M sdk/lib/_internal/pub/lib/src/global_packages.dart View 1 2 8 chunks +122 lines, -23 lines 0 comments Download
M sdk/lib/_internal/pub/lib/src/package.dart View 1 2 3 chunks +22 lines, -1 line 0 comments Download
M sdk/lib/_internal/pub/test/global/activate/activate_git_after_hosted_test.dart View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M sdk/lib/_internal/pub/test/global/activate/activate_hosted_after_git_test.dart View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M sdk/lib/_internal/pub/test/global/activate/activate_hosted_after_path_test.dart View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M sdk/lib/_internal/pub/test/global/activate/cached_package_test.dart View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M sdk/lib/_internal/pub/test/global/activate/constraint_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/_internal/pub/test/global/activate/different_version_test.dart View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
A sdk/lib/_internal/pub/test/global/activate/doesnt_snapshot_path_executables_test.dart View 1 chunk +32 lines, -0 lines 0 comments Download
M sdk/lib/_internal/pub/test/global/activate/git_package_test.dart View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M sdk/lib/_internal/pub/test/global/activate/ignores_active_version_test.dart View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M sdk/lib/_internal/pub/test/global/activate/reactivating_git_upgrades_test.dart View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
A + sdk/lib/_internal/pub/test/global/activate/removes_old_lockfile_test.dart View 1 chunk +10 lines, -8 lines 0 comments Download
A sdk/lib/_internal/pub/test/global/activate/snaphots_hosted_executables_test.dart View 1 chunk +46 lines, -0 lines 0 comments Download
A sdk/lib/_internal/pub/test/global/activate/snapshots_git_executables_test.dart View 1 chunk +48 lines, -0 lines 0 comments Download
M sdk/lib/_internal/pub/test/global/activate/supports_version_solver_backtracking_test.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/_internal/pub/test/global/activate/uncached_package_test.dart View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M sdk/lib/_internal/pub/test/global/deactivate/deactivate_and_reactivate_package_test.dart View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
A + sdk/lib/_internal/pub/test/global/deactivate/removes_precompiled_snapshots_test.dart View 1 2 1 chunk +6 lines, -1 line 0 comments Download
M sdk/lib/_internal/pub/test/global/list_test.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
A sdk/lib/_internal/pub/test/global/run/recompiles_if_sdk_is_out_of_date_test.dart View 1 chunk +53 lines, -0 lines 0 comments Download
A sdk/lib/_internal/pub/test/global/run/uses_old_lockfile_test.dart View 1 chunk +54 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
nweiz
6 years, 4 months ago (2014-08-25 19:54:40 UTC) #1
Bob Nystrom
You should also test that deactivating a package removes its precompiled executables. https://codereview.chromium.org/475093003/diff/20001/sdk/lib/_internal/pub/lib/src/barback/asset_environment.dart File sdk/lib/_internal/pub/lib/src/barback/asset_environment.dart ...
6 years, 4 months ago (2014-08-25 23:13:24 UTC) #2
nweiz
Code review changes
6 years, 3 months ago (2014-08-26 21:04:17 UTC) #3
nweiz
> Precompile immutable globally-installed pub executables. Done. https://codereview.chromium.org/475093003/diff/20001/sdk/lib/_internal/pub/lib/src/barback/asset_environment.dart File sdk/lib/_internal/pub/lib/src/barback/asset_environment.dart (right): https://codereview.chromium.org/475093003/diff/20001/sdk/lib/_internal/pub/lib/src/barback/asset_environment.dart#newcode236 sdk/lib/_internal/pub/lib/src/barback/asset_environment.dart:236: /// Precompiles ...
6 years, 3 months ago (2014-08-26 21:04:22 UTC) #4
Bob Nystrom
https://codereview.chromium.org/475093003/diff/20001/sdk/lib/_internal/pub/lib/src/global_packages.dart File sdk/lib/_internal/pub/lib/src/global_packages.dart (right): https://codereview.chromium.org/475093003/diff/20001/sdk/lib/_internal/pub/lib/src/global_packages.dart#newcode318 sdk/lib/_internal/pub/lib/src/global_packages.dart:318: var vmArgs = [p.join(binDir, '$executable.dart.snapshot')]..addAll(args); On 2014/08/25 23:13:23, Bob ...
6 years, 3 months ago (2014-09-02 20:29:30 UTC) #5
nweiz
https://codereview.chromium.org/475093003/diff/20001/sdk/lib/_internal/pub/lib/src/global_packages.dart File sdk/lib/_internal/pub/lib/src/global_packages.dart (right): https://codereview.chromium.org/475093003/diff/20001/sdk/lib/_internal/pub/lib/src/global_packages.dart#newcode318 sdk/lib/_internal/pub/lib/src/global_packages.dart:318: var vmArgs = [p.join(binDir, '$executable.dart.snapshot')]..addAll(args); On 2014/09/02 20:29:30, Bob ...
6 years, 3 months ago (2014-09-02 23:41:50 UTC) #6
Bob Nystrom
lgtm
6 years, 3 months ago (2014-09-02 23:58:54 UTC) #7
nweiz
6 years, 3 months ago (2014-09-03 00:21:03 UTC) #8
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as 39787 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698