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

Issue 2339803004: entrypoint to measure performance of the analyzer frontend (Closed)

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

Description

entrypoint to measure performance of the analyzer frontend R=paulberry@google.com Committed: https://github.com/dart-lang/sdk/commit/4af56d5647cb01622c3af028a9265a98600b2384

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+180 lines, -0 lines) Patch
A pkg/analyzer_cli/tool/perf.dart View 1 chunk +169 lines, -0 lines 1 comment Download
A pkg/analyzer_cli/tool/perf_test.dart View 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (8 generated)
Siggi Cherem (dart-lang)
Siva - here is the code I have so far to only run the analyzer's ...
4 years, 3 months ago (2016-09-15 22:26:09 UTC) #7
Paul Berry
lgtm. This seems like a good start. Note that this code will run the parser ...
4 years, 3 months ago (2016-09-15 22:32:50 UTC) #8
Siggi Cherem (dart-lang)
> Note that this code will run the parser with a semi-warm VM. (It's partially ...
4 years, 3 months ago (2016-09-15 22:39:48 UTC) #9
Siggi Cherem (dart-lang)
Committed patchset #1 (id:100001) manually as 4af56d5647cb01622c3af028a9265a98600b2384 (presubmit successful).
4 years, 3 months ago (2016-09-15 22:43:16 UTC) #11
Paul Berry
On 2016/09/15 22:39:48, Siggi Cherem (dart-lang) wrote: > > Note that this code will run ...
4 years, 3 months ago (2016-09-15 22:43:31 UTC) #12
Brian Wilkerson
https://codereview.chromium.org/2339803004/diff/100001/pkg/analyzer_cli/tool/perf.dart File pkg/analyzer_cli/tool/perf.dart (right): https://codereview.chromium.org/2339803004/diff/100001/pkg/analyzer_cli/tool/perf.dart#newcode129 pkg/analyzer_cli/tool/perf.dart:129: var next = sources.resolveUri(start, directive.uri.stringValue); This introduces a compilation ...
4 years, 3 months ago (2016-09-16 15:32:02 UTC) #14
Siggi Cherem (dart-lang)
4 years, 3 months ago (2016-09-16 15:37:51 UTC) #15
Message was sent while issue was closed.
On 2016/09/16 15:32:02, Brian Wilkerson wrote:
>
https://codereview.chromium.org/2339803004/diff/100001/pkg/analyzer_cli/tool/...
> File pkg/analyzer_cli/tool/perf.dart (right):
> 
>
https://codereview.chromium.org/2339803004/diff/100001/pkg/analyzer_cli/tool/...
> pkg/analyzer_cli/tool/perf.dart:129: var next = sources.resolveUri(start,
> directive.uri.stringValue);
> This introduces a compilation error:
> 
> ERROR: The getter 'uri' is not defined for the class 'Directive'.
> ([analyzer_cli] tool/perf.dart:129)

Oh, thanks I'll send a fix shortly... can't wait for the day when we get type
promotion on "if (x is! X) continue" :-).

QQ - how did you get this error? It didn't show for me when I run:

./tools/test.py -m release -c dart2analyzer -r none
pkg/analyzer_cli/tool/perf_test

Powered by Google App Engine
This is Rietveld 408576698