-
-
Session Time
- {formatDuration(report.duration_seconds)}
+
+
- Session Duration
+ {formatDuration(report.duration_seconds)}
-
End of Session
- {new Date(report.end_time).toLocaleTimeString()}
+
+
- Session End
+ {new Date(report.end_time).toLocaleTimeString()}
-
Uniques
- {report.aggregated_processes.length}
+
+
- Unique Processes
+ {report.aggregated_processes.length}
+
-
Issue Alerts
-
+
{report.aggregated_processes.filter(p => p.warnings.length > 0).length}
+
-
-
- Session Load Profile
+ Session Load Profile
@@ -388,7 +403,7 @@ function ReportView({ report, onBack }: { report: ProfilingReport, onBack: () =>
@@ -398,45 +413,50 @@ function ReportView({ report, onBack }: { report: ProfilingReport, onBack: () =>
+
-
-
-
- Analysis Matrix
+
+ Analysis Matrix
- CLICK PROCESS TO INSPECT
+ Select Process to Inspect
+
-
handleSort('name')}>
Process {sortField === 'name' && (sortOrder === 'asc' ? '↑' : '↓')}
- handleSort('instance_count')}>Units
- handleSort('avg_cpu')}>Avg CPU
- handleSort('peak_cpu')}>Peak CPU
- handleSort('avg_memory_mb')}>Avg Mem
- handleSort('peak_memory_mb')}>Peak Mem
- Insights
+ handleSort('instance_count')}>Units
+ handleSort('avg_cpu')}>Avg CPU
+ handleSort('peak_cpu')}>Peak CPU
+ handleSort('avg_memory_mb')}>Avg Mem
+ handleSort('peak_memory_mb')}>Peak Mem
+ Insights
+
{sortedProcesses.map((proc, i) => (
setSelectedProcess(proc)}
- className="table-row grid grid-cols-[2fr_0.8fr_1fr_1fr_1fr_1fr_2fr] gap-2 px-4 py-3 border-b border-surface1/20 hover:bg-surface1/30 cursor-pointer transition-colors group"
+ className="grid grid-cols-[1fr_80px_100px_100px_100px_100px_200px] gap-4 px-4 py-4 border-b border-surface1/20 hover:bg-surface1/20 cursor-pointer transition-all rounded-xl group"
>
-
{proc.name}
- {proc.instance_count}
- {proc.avg_cpu.toFixed(1)}%
- {proc.peak_cpu.toFixed(1)}%
- {proc.avg_memory_mb.toFixed(0)}MB
- {proc.peak_memory_mb.toFixed(0)}MB
-
- {proc.warnings.map((w, idx) => (
-
- {w}
+
))}
+
+ {proc.name}
+
+ {proc.instance_count}
+ {proc.avg_cpu.toFixed(1)}%
+ {proc.peak_cpu.toFixed(1)}%
+ {proc.avg_memory_mb.toFixed(0)}MB
+ {proc.peak_memory_mb.toFixed(0)}MB
+
+ {proc.warnings.length > 0 ? proc.warnings.map((w, idx) => (
+
+ {w}
- ))}
+ )) : (
+ Healthy
+ )}