|
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
Total comments: 16
|
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
|
Total messages: 8 (3 generated)
|