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

Issue 3006543002: Cache PackageBundle instances in AnalyzerWorkerLoop and reuse for multiple requests. (Closed)

Created:
3 years, 3 months ago by scheglov
Modified:
3 years, 3 months ago
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Cache PackageBundle instances in AnalyzerWorkerLoop and reuse for multiple requests. There are many Bazel targets that have huge number of dependencies, hundreds and thousands of them, and these dependencies are the same as for other targets. So, we want to keep corresponding PackageBundle instances, partially decoded, in memory and reuse. R=brianwilkerson@google.com, paulberry@google.com BUG= Committed: https://github.com/dart-lang/sdk/commit/776b7eb9cdc8678cfbea851fa6ece1e514ce3ca0

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+151 lines, -9 lines) Patch
M pkg/analyzer_cli/lib/src/build_mode.dart View 10 chunks +149 lines, -8 lines 0 comments Download
M pkg/analyzer_cli/pubspec.yaml View 1 chunk +1 line, -0 lines 0 comments Download
M pkg/analyzer_cli/test/build_mode_test.dart View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4 (1 generated)
scheglov
3 years, 3 months ago (2017-08-24 18:18:15 UTC) #1
Brian Wilkerson
lgtm
3 years, 3 months ago (2017-08-24 18:24:53 UTC) #2
scheglov
3 years, 3 months ago (2017-08-24 18:32:26 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
776b7eb9cdc8678cfbea851fa6ece1e514ce3ca0 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698