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

Issue 965593002: Improved profiler view and inclusive profile tree (Closed)

Created:
5 years, 10 months ago by Cutch
Modified:
5 years, 9 months ago
Reviewers:
rmacnak, siva
CC:
reviews_dartlang.org, turnidge, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Improved profiler view and inclusive profile tree TableTree improvements: - Row's have flex-box divs in each table cell. - To represent depth in tree a colored vertical bar for each depth level is shown - Expanding tree nodes is now asynchronous and animates. - Change cursor during tree expansion. Observatory Profiler improvements: - Improved appearance. - Support for inclusive (main first) call trees. - Replace tooltip hover with info toggle. - Visual icon attributes for code, functions and call tree nodes. - Fetching / Load status display. - Cleaned up Code and Function kinds. Profiler improvements: - When not profiling the VM (--profile-vm) only walk the stack when we are in Dart code or have exited Dart code. This removes some native stack walker noise. - Build inclusive (main first) call trees and send across service. Notes for analyzer team: Analyzer command line: ./out/ReleaseIA32/dart --keep-code --trace-profiler --profile-depth=128 --observe out/ReleaseIA32/dart-sdk/bin/snapshots/dartanalyzer.dart.snapshot --dart-sdk=out/ReleaseIA32/dart-sdk pkg/compiler/lib/src/dart2js.dart Profiler settings: - Tags: None or VM - Mode: Function - Direction: Bottom up R=asiva@google.com, rmacnak@google.com Committed: https://code.google.com/p/dart/source/detail?r=44152

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 16

Patch Set 5 : #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1420 lines, -731 lines) Patch
M runtime/observatory/lib/src/app/view_model.dart View 1 2 3 4 6 chunks +138 lines, -79 lines 0 comments Download
M runtime/observatory/lib/src/cpu_profile/cpu_profile.dart View 1 2 17 chunks +315 lines, -33 lines 0 comments Download
M runtime/observatory/lib/src/elements/class_tree.dart View 1 1 chunk +3 lines, -4 lines 0 comments Download
M runtime/observatory/lib/src/elements/class_tree.html View 1 1 chunk +6 lines, -74 lines 0 comments Download
M runtime/observatory/lib/src/elements/cpu_profile.dart View 1 2 3 6 chunks +416 lines, -242 lines 0 comments Download
M runtime/observatory/lib/src/elements/cpu_profile.html View 1 2 3 4 1 chunk +151 lines, -117 lines 0 comments Download
M runtime/observatory/lib/src/elements/css/shared.css View 1 2 2 chunks +33 lines, -0 lines 0 comments Download
M runtime/observatory/lib/src/elements/debugger.html View 1 1 chunk +48 lines, -0 lines 0 comments Download
M runtime/observatory/lib/src/elements/function_ref.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
M runtime/observatory/lib/src/elements/observatory_element.dart View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M runtime/observatory/lib/src/service/object.dart View 1 2 3 4 5 7 chunks +22 lines, -13 lines 0 comments Download
M runtime/observatory/lib/utils.dart View 1 2 4 chunks +21 lines, -8 lines 0 comments Download
M runtime/vm/object.h View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M runtime/vm/object.cc View 1 2 3 4 3 chunks +25 lines, -3 lines 0 comments Download
M runtime/vm/profiler.cc View 1 2 4 chunks +30 lines, -44 lines 0 comments Download
M runtime/vm/profiler_service.cc View 1 2 3 4 14 chunks +199 lines, -110 lines 0 comments Download
M runtime/vm/scope_timer.h View 1 2 3 4 2 chunks +4 lines, -1 line 0 comments Download
M runtime/vm/symbols.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/tags.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 8 (3 generated)
Cutch
5 years, 9 months ago (2015-02-28 00:21:53 UTC) #4
siva
lgtm https://codereview.chromium.org/965593002/diff/60001/runtime/observatory/lib/src/app/view_model.dart File runtime/observatory/lib/src/app/view_model.dart (right): https://codereview.chromium.org/965593002/diff/60001/runtime/observatory/lib/src/app/view_model.dart#newcode85 runtime/observatory/lib/src/app/view_model.dart:85: '#FF9800', More readable const variables for these values? ...
5 years, 9 months ago (2015-03-02 21:58:45 UTC) #5
rmacnak
lgtm https://codereview.chromium.org/965593002/diff/60001/runtime/observatory/lib/src/app/view_model.dart File runtime/observatory/lib/src/app/view_model.dart (right): https://codereview.chromium.org/965593002/diff/60001/runtime/observatory/lib/src/app/view_model.dart#newcode156 runtime/observatory/lib/src/app/view_model.dart:156: var _operation; Consider Future _pendingOperation; https://codereview.chromium.org/965593002/diff/60001/runtime/observatory/lib/src/app/view_model.dart#newcode220 runtime/observatory/lib/src/app/view_model.dart:220: _insertRow(index ...
5 years, 9 months ago (2015-03-02 22:25:26 UTC) #6
Cutch
https://codereview.chromium.org/965593002/diff/60001/runtime/observatory/lib/src/app/view_model.dart File runtime/observatory/lib/src/app/view_model.dart (right): https://codereview.chromium.org/965593002/diff/60001/runtime/observatory/lib/src/app/view_model.dart#newcode85 runtime/observatory/lib/src/app/view_model.dart:85: '#FF9800', On 2015/03/02 21:58:44, siva wrote: > More readable ...
5 years, 9 months ago (2015-03-02 22:48:19 UTC) #7
Cutch
5 years, 9 months ago (2015-03-02 23:02:04 UTC) #8
Message was sent while issue was closed.
Committed patchset #6 (id:100001) manually as 44152 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698