Check out the finer details of the more technical fixes implemented into Discord recently.
Upgrading to Electron 42 cut Discord’s desktop p50 CPU usage by 17% — even though it traded away 4% in p50 memory overhead. 👇
Background audio leakage and runtime overhead were steadily stealing system resources away from high-demand games running on the same PC. Mobile performance was similarly burdened by aging framework versions.
Discord overhauled client efficiency across platforms by upgrading core application runtimes, refining rendering paths, and expanding native audio processing on Windows.
The changes rolled out through three main updates:
System-wide echo cancellation: Discord's audio engine on Windows previously only canceled audio coming from active Discord calls. The team expanded echo cancellation to capture all system audio, removing background sounds like second-monitor video streams from microphone input.
Runtime upgrades: Discord upgraded its desktop client shell to Electron 42 and changed how the app consumes the framework runtime. On mobile apps, upgrading React Native from version 0.81 to 0.86 cleared out internal performance bottlenecks on both iOS and Android.
Render tree pruning: Desktop developers cleaned up layout code to eliminate unnecessary element render attempts entirely.
The framework updates delivered immediate performance gains. Desktop p50 CPU consumption dropped by 20% overall (17% from Electron, 3% from DOM cleanup) alongside a minor 4% p50 memory regression. Mobile apps saw both average CPU usage and cold launch times improve by ~5% across iOS and Android.
NayaRead shows a summary and links to the original article. The full article is hosted on discord.com.