File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ export default {
198
198
},
199
199
xaxis: {
200
200
title: {
201
- text: ` ${ upperFirst ( getTimingOption ( props .timingOption ) )} ` ,
201
+ text: ` ${ formatChartLabels ( props .timingOption )} ` ,
202
202
},
203
203
labels: {
204
204
formatter : (value ) => formatDuration (value, true , props .timingOption )
Original file line number Diff line number Diff line change @@ -143,8 +143,10 @@ export function formatChartLabels (timingOption) {
143
143
// Create correct labels for the charts
144
144
if ( timingOption === 'maxRss' ) {
145
145
return 'Max RSS'
146
+ } else if ( timingOption === 'cpuTime' ) {
147
+ return 'CPU Time'
146
148
} else {
147
- return upperFirst ( timingOption ) + ' time '
149
+ return upperFirst ( timingOption ) + ' Time '
148
150
}
149
151
}
150
152
You can’t perform that action at this time.
0 commit comments