feat: upgrade to React 19, Tailwind 4, sysinfo 0.38 and implement manual chunk splitting

This commit is contained in:
2026-02-22 18:29:48 +01:00
parent ec142b09bd
commit a3dbd754be
8 changed files with 116 additions and 103 deletions

View File

@@ -101,7 +101,7 @@ fn get_system_stats(
let mut profiling = state.profiling.lock().unwrap();
if minimal {
sys.refresh_cpu();
sys.refresh_cpu_all();
sys.refresh_memory();
} else {
sys.refresh_all();
@@ -120,7 +120,7 @@ fn get_system_stats(
.map(|(pid, process)| {
ProcessStats {
pid: pid.as_u32(),
name: process.name().to_string(),
name: process.name().to_string_lossy().to_string(),
cpu_usage: process.cpu_usage(),
memory: process.memory(),
status: format!("{:?}", process.status()),
@@ -132,13 +132,13 @@ fn get_system_stats(
if profiling.is_active {
// Even in minimal mode, if recording we need the processes for the report
if minimal {
sys.refresh_processes();
sys.refresh_processes(sysinfo::ProcessesToUpdate::All, true);
processes = sys.processes().iter()
.filter(|(pid, _)| !exclude_self || pid.as_u32() != self_pid)
.map(|(pid, process)| {
ProcessStats {
pid: pid.as_u32(),
name: process.name().to_string(),
name: process.name().to_string_lossy().to_string(),
cpu_usage: process.cpu_usage(),
memory: process.memory(),
status: format!("{:?}", process.status()),