Benchmark: do memory cleaners help?
Do memory cleaners help, do nothing, or make a Mac slower? We are testing it, and we will publish the method with the data so you can repeat it.
No results published yet
No results are published yet, so this page shows none. We will not put a number here that we have not measured on real Macs. See where the benchmark stands and what a published run will show.
Where the benchmark stands
The test harness is built and has run once. What does not exist yet is the public comparison, so the page shows no numbers.
- Done. A harness that runs on the same code as the app, with synthetic apps that leak memory at a known rate, charts and a written report. Its first run was a short regression check on one Apple M3 Pro Mac with 18 GB: does Hedroom find a leak, does a relaunch receipt agree with what the harness saw, and does Hedroom stay cheap. It is not a comparison of cleaners, so it is not published here.
- Not done yet. The real workload (Chrome, a call, an editor, a build, photos), the "empty the file cache" and cleaner-app conditions, app-switch timing, energy and build time, and five randomised runs per condition. The 8 GB and 16 GB Macs are also still to run.
- The rule for publishing. A run reaches this page only after a person has read its report and approved it. A short or single-machine run cannot appear by accident, and a run from a single Mac is labelled as one.
What you will see when a run is published
Each run gets one block on this page, in this order:
- The setup. Date, chip, memory, macOS build and the profile that was run, so you can tell whether it matches your Mac.
- The numbers. A table of every measure from the run, with the names and values as the harness wrote them. Nothing is ranked or summed into a score.
- A single-machine flag when the run came from one Mac, because one Mac cannot show how results vary.
- Charts from the run, such as free memory, swap used and swap written, how long apps take to launch, and how the leaking app's size changes.
- The raw files and the report. The CSV samples, the event log, the summary and the written report, so you can check the charts against the data.
The method
This is the plan, and it is the same whether or not results are in yet.
- Macs. A MacBook Air with 8 GB first, then 16 GB. Fresh user account for each run, same macOS build across a comparison, plugged in, Spotlight indexing finished.
- Workload. Chrome with fixed tabs, an Electron app that leaks at a known rate, a call, an editor with a mid-size project, a build, and photos. Every two minutes, the script switches app and types.
- Four conditions. A: do nothing. B: empty the file cache every ten minutes, which is what a cleaner app's main button does. C: a popular cleaner app, using its clean button every ten minutes. D: Hedroom with its default rules, plus one relaunch that a person accepts when the leak is found.
- Repeats. Five runs of 45 minutes per condition, in random order, with a reboot between runs. We report the median and the spread.
- What is measured. Memory pressure, swap written, how long an app takes to come to the front, how long an app takes to reopen, build time, energy, and Hedroom's own CPU and memory.
- What we publish. The method, the hardware, the raw files, the scripts, and every result, including any that do not show what we expected. If the data disagrees with us, it goes up anyway.
How to read the results
- Pressure and swap are the verdict. A cleaner's own "free memory" figure will rise after a clean. That figure is not the test. The test is whether memory pressure and swap growth improved, and whether apps came back to the front faster or slower.
- Median and spread, not the best run. Five runs per condition show how much the same condition varies. A gap smaller than that spread is not a difference.
- Our expectation is not the result. We expect cleaning the cache to leave pressure unchanged or worse, and one accepted relaunch to stop swap growth. That is a hypothesis. If the data does not show it, we publish what it shows, and we do not pick runs.
- The limits. Apple Silicon Macs only, one fixed workload, the macOS builds named in each run. It cannot say how a different workload, an Intel Mac or a later macOS behaves.
Test it yourself now
You do not have to wait for ours. A simple version takes about half an hour:
- Work normally for fifteen minutes. In Activity Monitor's Memory tab, note the Memory Pressure graph and Swap Used.
- Open a large app or project you used earlier, and time how long it takes to be usable.
- Run the "free memory" feature of the tool you are testing, or nothing at all as your control.
- Open the same app again, time it, and watch pressure and swap for ten minutes.
The same test, with what to expect, is in this guide. For what Hedroom does instead of cleaning, see How it works and Receipts. If you repeat our method and get a different result, we want to hear it: contact.