File tree 2 files changed +9
-9
lines changed
packages/vscode-js-profile-flame
2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 76
76
],
77
77
"configuration" : [
78
78
{
79
- "title" : " Flamegraph Visaulizer " ,
79
+ "title" : " Flamegraph Visualizer " ,
80
80
"properties" : {
81
81
"debug.flameGraph.realtimePollInterval" : {
82
82
"type" : " integer" ,
83
- "minimum" : 500 ,
84
- "default" : 1000 ,
85
- "description" : " How often (in milliseconds ) to refresh statistics from the runtime"
83
+ "minimum" : 0.5 ,
84
+ "default" : 1 ,
85
+ "description" : " How often (in seconds ) to refresh statistics from the runtime"
86
86
},
87
87
"debug.flameGraph.realtimeViewDuration" : {
88
88
"type" : " integer" ,
89
- "minimum" : 500 ,
90
- "default" : 30000 ,
91
- "description" : " How much time (in milliseconds ) should be kept in the graph"
89
+ "minimum" : 1 ,
90
+ "default" : 30 ,
91
+ "description" : " How much time (in seconds ) should be kept in the graph"
92
92
},
93
93
"debug.flameGraph.realtimeEasing" : {
94
94
"type" : " boolean" ,
Original file line number Diff line number Diff line change @@ -22,8 +22,8 @@ export const readRealtimeSettings = (context: vscode.ExtensionContext): ISetting
22
22
vscode . window . activeColorTheme . kind !== vscode . ColorThemeKind . HighContrast ,
23
23
enabledMetrics : context . workspaceState . get ( enabledMetricsKey ) ?? [ 0 , 1 ] ,
24
24
splitCharts : context . workspaceState . get ( splitChartsKey ) ?? false ,
25
- pollInterval : config . get ( Config . PollInterval , 1000 ) ,
26
- viewDuration : config . get ( Config . ViewDuration , 30_000 ) ,
25
+ pollInterval : config . get ( Config . PollInterval , 1 ) * 1000 ,
26
+ viewDuration : config . get ( Config . ViewDuration , 30 ) * 1000 ,
27
27
zoomLevel : config . get ( 'window.zoomLevel' , 0 ) ,
28
28
} ;
29
29
} ;
You can’t perform that action at this time.
0 commit comments