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

Issue 100103011: Changes to support dprof and Observatory profiler UIs (Closed)

Created:
6 years, 12 months ago by Cutch
Modified:
6 years, 11 months ago
Reviewers:
srdjan, Ivan Posva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Build map of code regions and address ticks for profile report. Profile pauses should be less than 500 ms even when handling 120,000 samples (2 minutes @ 1000 hz). Code objects are referenced by hex address: "code/cafebabe". Test for retrieving code objects over the service. Remove old profile tool scripts. Replaced by dprof (https://github.com/dart-lang/dprof) and Observatory UI for profiler. Support for stable service refs to implicit closures and dispatcher functions. R=srdjan@google.com Committed: https://code.google.com/p/dart/source/detail?r=31447

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Total comments: 12

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : #

Patch Set 12 : #

Patch Set 13 : #

Patch Set 14 : #

Patch Set 15 : #

Total comments: 15

Patch Set 16 : #

Patch Set 17 : #

Total comments: 16

Patch Set 18 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4690 lines, -3847 lines) Patch
M runtime/bin/vmservice/client/deployed/web/index.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 4 chunks +60 lines, -5 lines 0 comments Download
M runtime/bin/vmservice/client/deployed/web/index.html_bootstrap.dart.js View 598 chunks +3378 lines, -3014 lines 0 comments Download
M runtime/bin/vmservice/client/deployed/web/index_devtools.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 4 chunks +59 lines, -4 lines 0 comments Download
M runtime/bin/vmservice/client/lib/observatory.dart View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -0 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/observatory/isolate.dart View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -0 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/observatory/location_manager.dart View 1 2 3 2 chunks +9 lines, -1 line 0 comments Download
A runtime/bin/vmservice/client/lib/src/observatory_elements/isolate_profile.dart View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +149 lines, -0 lines 0 comments Download
A runtime/bin/vmservice/client/lib/src/observatory_elements/isolate_profile.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +49 lines, -0 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/observatory_elements/isolate_summary.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +5 lines, -2 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/observatory_elements/observatory_application.html View 1 2 3 2 chunks +7 lines, -1 line 0 comments Download
M runtime/bin/vmservice/client/pubspec.yaml View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/code_patcher.h View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/vm/code_patcher.cc View 1 2 3 4 5 6 7 1 chunk +12 lines, -1 line 0 comments Download
M runtime/vm/isolate.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/native_symbol.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/native_symbol_android.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +4 lines, -1 line 0 comments Download
M runtime/vm/native_symbol_linux.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +4 lines, -1 line 0 comments Download
M runtime/vm/native_symbol_macos.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +4 lines, -1 line 0 comments Download
M runtime/vm/native_symbol_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +4 lines, -1 line 0 comments Download
M runtime/vm/object.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 6 chunks +13 lines, -2 lines 0 comments Download
M runtime/vm/object.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 11 chunks +217 lines, -72 lines 0 comments Download
M runtime/vm/object_test.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +68 lines, -15 lines 0 comments Download
M runtime/vm/profiler.h View 1 2 3 4 5 6 7 8 9 10 11 12 5 chunks +13 lines, -10 lines 0 comments Download
M runtime/vm/profiler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 5 chunks +374 lines, -139 lines 0 comments Download
M runtime/vm/profiler_test.cc View 1 2 3 2 chunks +5 lines, -5 lines 0 comments Download
M runtime/vm/service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 7 chunks +124 lines, -25 lines 0 comments Download
M runtime/vm/service_test.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 6 chunks +123 lines, -21 lines 0 comments Download
D tools/tracemerge.dart View 1 2 3 4 1 chunk +0 lines, -361 lines 0 comments Download
D tools/tracesummary.dart View 1 2 3 4 1 chunk +0 lines, -163 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Cutch
6 years, 12 months ago (2013-12-27 23:07:13 UTC) #1
Cutch
6 years, 11 months ago (2013-12-30 16:42:49 UTC) #2
Cutch
Added Srdjan for the CodePatcher changes.
6 years, 11 months ago (2013-12-30 17:41:31 UTC) #3
srdjan
LGTM with comments for code patching part. https://codereview.chromium.org/100103011/diff/270001/runtime/vm/code_patcher.cc File runtime/vm/code_patcher.cc (right): https://codereview.chromium.org/100103011/diff/270001/runtime/vm/code_patcher.cc#newcode69 runtime/vm/code_patcher.cc:69: const uword ...
6 years, 11 months ago (2013-12-30 17:54:46 UTC) #4
Cutch
srdjan comments addressed + function reference fixes. https://codereview.chromium.org/100103011/diff/270001/runtime/vm/code_patcher.cc File runtime/vm/code_patcher.cc (right): https://codereview.chromium.org/100103011/diff/270001/runtime/vm/code_patcher.cc#newcode69 runtime/vm/code_patcher.cc:69: const uword ...
6 years, 11 months ago (2013-12-30 21:32:39 UTC) #5
Ivan Posva
https://codereview.chromium.org/100103011/diff/270001/runtime/bin/vmservice/client/lib/src/observatory_elements/isolate_summary.html File runtime/bin/vmservice/client/lib/src/observatory_elements/isolate_summary.html (right): https://codereview.chromium.org/100103011/diff/270001/runtime/bin/vmservice/client/lib/src/observatory_elements/isolate_summary.html#newcode8 runtime/bin/vmservice/client/lib/src/observatory_elements/isolate_summary.html:8: <img src="img/isolate_icon.png" class="img-polaroid"> TABS https://codereview.chromium.org/100103011/diff/270001/runtime/bin/vmservice/client/pubspec.yaml File runtime/bin/vmservice/client/pubspec.yaml (right): https://codereview.chromium.org/100103011/diff/270001/runtime/bin/vmservice/client/pubspec.yaml#newcode6 ...
6 years, 11 months ago (2013-12-30 23:06:08 UTC) #6
Cutch
https://codereview.chromium.org/100103011/diff/650001/runtime/bin/vmservice/client/pubspec.yaml File runtime/bin/vmservice/client/pubspec.yaml (right): https://codereview.chromium.org/100103011/diff/650001/runtime/bin/vmservice/client/pubspec.yaml#newcode5 runtime/bin/vmservice/client/pubspec.yaml:5: dprof: NOTE: Temporary. This will go away in the ...
6 years, 11 months ago (2014-01-02 22:12:52 UTC) #7
Ivan Posva
First set of comments... -Ivan https://codereview.chromium.org/100103011/diff/650001/runtime/bin/vmservice/client/lib/src/observatory_elements/isolate_summary.html File runtime/bin/vmservice/client/lib/src/observatory_elements/isolate_summary.html (right): https://codereview.chromium.org/100103011/diff/650001/runtime/bin/vmservice/client/lib/src/observatory_elements/isolate_summary.html#newcode8 runtime/bin/vmservice/client/lib/src/observatory_elements/isolate_summary.html:8: <img src="img/isolate_icon.png" class="img-polaroid"> TABS ...
6 years, 11 months ago (2014-01-03 01:52:16 UTC) #8
Cutch
All comments addressed. Tests added. https://codereview.chromium.org/100103011/diff/650001/runtime/bin/vmservice/client/lib/src/observatory_elements/isolate_summary.html File runtime/bin/vmservice/client/lib/src/observatory_elements/isolate_summary.html (right): https://codereview.chromium.org/100103011/diff/650001/runtime/bin/vmservice/client/lib/src/observatory_elements/isolate_summary.html#newcode8 runtime/bin/vmservice/client/lib/src/observatory_elements/isolate_summary.html:8: <img src="img/isolate_icon.png" class="img-polaroid"> On ...
6 years, 11 months ago (2014-01-03 16:01:55 UTC) #9
Ivan Posva
https://codereview.chromium.org/100103011/diff/740001/runtime/vm/native_symbol_android.cc File runtime/vm/native_symbol_android.cc (right): https://codereview.chromium.org/100103011/diff/740001/runtime/vm/native_symbol_android.cc#newcode32 runtime/vm/native_symbol_android.cc:32: *start = reinterpret_cast<uintptr_t>(info.dli_saddr); if (start != NULL) { *start ...
6 years, 11 months ago (2014-01-03 19:24:53 UTC) #10
Cutch
https://codereview.chromium.org/100103011/diff/740001/runtime/vm/native_symbol_android.cc File runtime/vm/native_symbol_android.cc (right): https://codereview.chromium.org/100103011/diff/740001/runtime/vm/native_symbol_android.cc#newcode32 runtime/vm/native_symbol_android.cc:32: *start = reinterpret_cast<uintptr_t>(info.dli_saddr); On 2014/01/03 19:24:54, Ivan Posva wrote: ...
6 years, 11 months ago (2014-01-03 19:42:29 UTC) #11
Ivan Posva
Let's commit what you have and iterate on the rest. -Ivan
6 years, 11 months ago (2014-01-03 19:52:45 UTC) #12
Cutch
6 years, 11 months ago (2014-01-03 19:56:10 UTC) #13
Message was sent while issue was closed.
Committed patchset #18 manually as r31447 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698