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

Issue 2955313003: Use SearchEngine.membersOfSubtypes() instead of actual elements in ImplementedComputer. (Closed)

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

Description

Use SearchEngine.membersOfSubtypes() instead of actual elements in ImplementedComputer. This makes 'implemented' notification 10x faster for files with many types and implemented methods, like visitor.dart - from 400 ms down to 36 ms. Still not as fast as I would like, but much better. R=brianwilkerson@google.com BUG= Committed: https://github.com/dart-lang/sdk/commit/8f5c21ea68c28255d17050a9b5815e8572adafe7

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -21 lines) Patch
M pkg/analysis_server/lib/src/domains/analysis/implemented_dart.dart View 3 chunks +10 lines, -21 lines 0 comments Download

Messages

Total messages: 4 (1 generated)
scheglov
3 years, 5 months ago (2017-06-28 22:10:37 UTC) #1
Brian Wilkerson
lgtm
3 years, 5 months ago (2017-06-28 23:40:11 UTC) #2
scheglov
3 years, 5 months ago (2017-06-29 17:11:32 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
8f5c21ea68c28255d17050a9b5815e8572adafe7 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698