Skip to content
This repository was archived by the owner on Mar 25, 2025. It is now read-only.

Commit 712eea4

Browse files
committed
feat: add anroid perf total pss
1 parent 6d82fa9 commit 712eea4

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/components/AndroidPerfChart.vue

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -694,6 +694,10 @@ const printPerfMem = () => {
694694
xAxisIndex: [0, 1],
695695
},
696696
],
697+
legend: {
698+
top: '8%',
699+
data: ['Phy RSS', 'VM RSS', 'Total PSS'],
700+
},
697701
yAxis: [{ name: '内存占用(b)', min: 0 }],
698702
series: [
699703
{
@@ -714,6 +718,15 @@ const printPerfMem = () => {
714718
showSymbol: false,
715719
boundaryGap: false,
716720
},
721+
{
722+
name: 'Total PSS',
723+
type: 'line',
724+
data: props.procPerf.map((obj) => {
725+
return obj.totalPSS;
726+
}),
727+
showSymbol: false,
728+
boundaryGap: false,
729+
},
717730
],
718731
};
719732
chart.setOption(option);

0 commit comments

Comments
 (0)