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

Issue 1288593002: dart2js: add function coverage tracking in dart2js output, dumpinfo, and (Closed)

Created:
5 years, 4 months ago by Siggi Cherem (dart-lang)
Modified:
5 years, 4 months ago
CC:
reviews_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

dart2js: add function coverage tracking in dart2js output, dumpinfo, and coverage recording server R=sra@google.com Committed: https://github.com/dart-lang/sdk/commit/e3fbf4464383ba55bdaf0619b9bb415e4f1ad8db

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Total comments: 8

Patch Set 4 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+280 lines, -17 lines) Patch
M pkg/compiler/lib/src/dump_info.dart View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/info/info.dart View 1 2 3 13 chunks +21 lines, -9 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/backend.dart View 1 2 chunks +9 lines, -5 lines 0 comments Download
M pkg/compiler/lib/src/ssa/builder.dart View 1 3 chunks +15 lines, -1 line 0 comments Download
M pkg/compiler/pubspec.yaml View 2 chunks +11 lines, -0 lines 0 comments Download
A pkg/compiler/tool/coverage_log_server.dart View 1 1 chunk +190 lines, -0 lines 2 comments Download
M sdk/lib/_internal/js_runtime/lib/js_helper.dart View 1 2 3 3 chunks +28 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (1 generated)
Siggi Cherem (dart-lang)
I'll send separately a tool that can process the data produced by the coverage log ...
5 years, 4 months ago (2015-08-12 01:19:47 UTC) #2
Siggi Cherem (dart-lang)
I just updated this to properly add the coverage tracing call. Stephen found the location ...
5 years, 4 months ago (2015-08-13 01:38:56 UTC) #3
Siggi Cherem (dart-lang)
https://codereview.chromium.org/1288593002/diff/20001/sdk/lib/_internal/js_runtime/lib/js_helper.dart File sdk/lib/_internal/js_runtime/lib/js_helper.dart (right): https://codereview.chromium.org/1288593002/diff/20001/sdk/lib/_internal/js_runtime/lib/js_helper.dart#newcode278 sdk/lib/_internal/js_runtime/lib/js_helper.dart:278: JS('', '# = []', JS_EMBEDDED_GLOBAL('JSArray', TRACE_BUFFER)); On 2015/08/13 01:38:56, ...
5 years, 4 months ago (2015-08-13 20:52:29 UTC) #4
sra1
lgtm https://codereview.chromium.org/1288593002/diff/40001/pkg/compiler/lib/src/dump_info.dart File pkg/compiler/lib/src/dump_info.dart (right): https://codereview.chromium.org/1288593002/diff/40001/pkg/compiler/lib/src/dump_info.dart#newcode131 pkg/compiler/lib/src/dump_info.dart:131: coverageId: '${element.hashCode}', Add comment that this is unique. ...
5 years, 4 months ago (2015-08-13 22:27:26 UTC) #5
Siggi Cherem (dart-lang)
thanks Stephen! https://codereview.chromium.org/1288593002/diff/40001/pkg/compiler/lib/src/dump_info.dart File pkg/compiler/lib/src/dump_info.dart (right): https://codereview.chromium.org/1288593002/diff/40001/pkg/compiler/lib/src/dump_info.dart#newcode131 pkg/compiler/lib/src/dump_info.dart:131: coverageId: '${element.hashCode}', On 2015/08/13 22:27:26, sra1 wrote: ...
5 years, 4 months ago (2015-08-13 23:40:21 UTC) #6
Siggi Cherem (dart-lang)
Committed patchset #4 (id:60001) manually as e3fbf4464383ba55bdaf0619b9bb415e4f1ad8db (presubmit successful).
5 years, 4 months ago (2015-08-13 23:48:03 UTC) #7
Johnni Winther
lgtm https://codereview.chromium.org/1288593002/diff/60001/pkg/compiler/tool/coverage_log_server.dart File pkg/compiler/tool/coverage_log_server.dart (right): https://codereview.chromium.org/1288593002/diff/60001/pkg/compiler/tool/coverage_log_server.dart#newcode123 pkg/compiler/tool/coverage_log_server.dart:123: ? '<html><script src="$baseJsName"></script>' Is the missing </html> deliberate?
5 years, 4 months ago (2015-08-19 10:38:22 UTC) #8
Siggi Cherem (dart-lang)
5 years, 4 months ago (2015-08-19 15:45:20 UTC) #9
Message was sent while issue was closed.
https://codereview.chromium.org/1288593002/diff/60001/pkg/compiler/tool/cover...
File pkg/compiler/tool/coverage_log_server.dart (right):

https://codereview.chromium.org/1288593002/diff/60001/pkg/compiler/tool/cover...
pkg/compiler/tool/coverage_log_server.dart:123: ? '<html><script
src="$baseJsName"></script>'
On 2015/08/19 10:38:22, Johnni Winther wrote:
> Is the missing </html> deliberate?

yeah, but it is equivalent (HTML parsing spec says it's optional).

Powered by Google App Engine
This is Rietveld 408576698