Conversation
|
I like the direction here, but I found three correctness issues in the current head:
The performance goal is valid, but I don’t think this is merge-ready until those null/error paths are closed. |
786d91c to
b7a853e
Compare
…urces - Add 'Low Performance Mode' (LOW PERF) toggle with localStorage persistence - Remove expensive backdrop-blur filters and disable purely aesthetic CSS animations in LOW PERF - Enable manual scrolling for tickers in LOW PERF by disabling auto-animation and removing duplicates - Optimize 3D globe by pausing WebGL loop when in Flat mode to zero out idle CPU/GPU usage - Simplify globe features (reduced star field, thinner atmosphere, no bump map) - Defer Three.js and Globe.gl loading until manually activated - Disable arc animations by default (enabled only when zoomed in) - Ensure all map markers remain visible at all zoom levels on both Flat and Globe projections
b7a853e to
47871d7
Compare
|
You were right. I hadn’t tested the related paths thoroughly enough... I went back through the branch and fixed each of the problems:
While retesting, I also cleaned up a related issue in the lazy globe bootstrap path to avoid duplicate Three.js loads. I also rebased the branch onto current master. A few related changes had already moved upstream in the meantime, so I cleaned up the overlaps during the rebase and kept only the remaining branch-specific Sorry as well for the branch churn. I realized I had been committing with my work Git identity, so I had to rewrite the branch history to correct the author/email before pushing the updated branch. That part |
|
I haven't been able to get to this yet because work has been busy, but I definitely plan to review it over the weekend. |
Summary
This PR introduces significant browser performance optimizations for the Crucix dashboard, focusing on resource management and user control. Key changes include:
three.jsandglobe.gluntil the 3D mode is manually activated.pauseAnimation()when switching to Flat mode to eliminate idle GPU/CPU usage.localStorage) that disables expensive CSSbackdrop-filtereffects, halts purely aesthetic animations, and simplifies globe features(reduced star field, thinner atmosphere).
Why
The previous implementation caused high CPU/GPU load, particularly in Firefox, due to the constant background rendering of the 3D globe and the intensive use of CSS blur filters. This led to excessive fan
noise and poor responsiveness on mid-range hardware. Users also reported "missing" data points at world-view zoom due to priority-based filtering.
Scope
Validation
backdrop-filterremoval and animation halt via Browser DevTools.chrome://tracingand Firefox Performance tab.localStoragepersistence across page reloads.Screenshots
Config and Docs
.env.exampleupdated if neededREADME.mdupdated if behavior changedSource Additions
N/A
Checklist