Sdk: Let Observatory timeline's 'profiles' be segmented buttons instead of a dropdown

Created on 6 Apr 2017  路  2Comments  路  Source: dart-lang/sdk

Small nit quality of life improvement.

Consider the following (flutter) developer's workflow:
1- put in test code and timeline traces
2- flutter run --profile
3- click the observatory link
4- open timeline
5- click profiles dropdown
6- click on dart developer (most useful for flutter developers)
7- do stuff
8- click refresh

The repeat from 1 maybe 20 times until whatever that needs figuring out is figured out. Any reduction of human steps (5-6) in the workflow could reduce friction.

Note: perhaps 2-6 is a flutter specific issue since profile mode apps can't be hot reloaded.

area-vm vm-debugger

Most helpful comment

@xster the VM has a parameter to enable the streams at startup --timeline_streams=Compiler,Dart,GC.
If we add this parameter in the flutter tools too and forward it to the VM we can remove completely steps 5 and 6 by just starting flutter using flutter run --profile --timeline_streams=Compiler,Dart,GC

All 2 comments

@B3rn475

@xster the VM has a parameter to enable the streams at startup --timeline_streams=Compiler,Dart,GC.
If we add this parameter in the flutter tools too and forward it to the VM we can remove completely steps 5 and 6 by just starting flutter using flutter run --profile --timeline_streams=Compiler,Dart,GC

Was this page helpful?
0 / 5 - 0 ratings

Related issues

matanlurey picture matanlurey  路  3Comments

sgrekhov picture sgrekhov  路  3Comments

DartBot picture DartBot  路  3Comments

brooth picture brooth  路  3Comments

bergwerf picture bergwerf  路  3Comments