feat: implement PSS (Proportional Set Size) for accurate real memory tracking

This commit is contained in:
2026-02-22 23:53:10 +01:00
parent 0920d3ff45
commit a5d226503d
2 changed files with 29 additions and 4 deletions

View File

@@ -580,8 +580,8 @@ function ReportView({ report, onBack }: { report: ProfilingReport, onBack: () =>
</div>
<div className="p-4 bg-surface0/50 border-t border-surface1 text-[9px] text-overlay1 font-medium italic flex items-center gap-2">
<AlertTriangle size={10} />
<span>Memory is Resident Set Size (RSS). Summed totals may exceed physical RAM due to shared segments.</span>
<Shield size={10} className="text-blue" />
<span>Memory is Proportional Set Size (PSS). It includes private memory plus a proportional share of shared libraries, providing an accurate sum of total system impact.</span>
</div>
</div>