70MB
Of RAM with an animated wallpaper running.
A wallpaper that moves with your music shouldn’t eat your computer. Here are the measurements, how we got there and how to check them yourself.
70MB
Of RAM with an animated wallpaper running.
1,5% CPU
The graphics card does the drawing; the CPU only listens to the audio.
−89%
From 657 MB down to 70 MB of memory.
3MB
Its own process, with no graphics, that only runs the menu.
Each row is a real measurement of memory use (working set) of all Bassline processes together, in a release build, taken throughout the optimizations.
There’s no magic optimization: just six small decisions that add up.
By default, the graphics library reserved blocks of 128 MB of GPU memory and 64 MB of system memory in every process. Bassline uses a 48-byte buffer: now it reserves 8 and 4. That alone: −364 MB.
There used to be two nearly identical programs, and Windows doesn’t share their code in memory. Now the wallpaper is the same bassline.exe in another mode, so it’s shared.
The tray icon is its own 3 MB process that never touches the graphics card. The panel only exists while you’re looking at it and closes itself 30 seconds after you hide it.
Each scene is compiled the first time it’s drawn, not at startup. Scenes unused for a while are released. Having 18 scenes costs no memory if you use one.
The gallery thumbnails used to hold about 11 MB forever. Now they only live while they’re visible and are recreated when you go back to the gallery.
The analysis reuses its memory instead of asking for 8 KB of new memory 43 times a second. And in silence, the bands drop to zero within half a second.
Each piece does one thing
Bassline splits into small processes of the same bassline.exe. So when you’re not looking at the panel, you don’t pay for a window.
In Settings you can lower its usage even further, especially on laptops.
At 30 FPS the graphics card works half as much as at 60, and on a wallpaper you barely notice.
“Balanced” draws fewer layers and a softer glow. Ideal for laptops.
With a game or anything full screen, the wallpaper stops and leaves the whole graphics card free.
With a maximized window on top, the wallpaper stops until it’s visible again.
Don’t take our word for it
Press Ctrl + Shift + Esc and go to the Details tab.
You’ll see one process for each piece that’s running: the tray, the wallpaper and, if it’s open, the panel. Add up the memory column for all of them.
Watch the CPU column with something playing. You’ll find the graphics card under Performance → GPU.
Keep in mind: the numbers change with the scene, the resolution, the number of monitors and the quality and FPS settings.