All projects

GameBoost

Automatic Windows tuning for games

Notices when a game starts, switches the power plan, raises the game's priority and quiets the background, then restores the system exactly as it was once the game exits.

Below is one gaming session from launch to rollback, the case where the pid already belongs to another process, and how tests and coverage grew on the way to release v1.1.0.

How it works
  1. Detectionthe game is recognised by its executable path: Steam, Epic, Xbox, Minecraft
  2. Boostpower plan, game priority, background lowered, wallpaper paused; every change goes to the state file
  3. Gamethe watcher follows the process and measures intervals on a monotonic clock
  4. Exitrollback starts 15 seconds after the game closes
  5. Failure path

    1. The pid belongs to another process
    2. name and start time are compared
    3. an unrelated process gets no rollback
  6. Rollbackthe state file brings the system back to where it was

Verifiable decisions

  1. testsStage 05 · Rollback

    Rollback

    Every change is written to a state file, and the rollback after a game exits follows it. The state file was fuzzed for 700 iterations without a single exception.

  2. release

    Release

    Release v1.1.0 shipped only after green CI and a review pass with no new defects. 348 tests, 82.5% coverage.

Numbers

The road to v1.1.0

Tests in every green CI run from the first to the release, and coverage where the run measured it. Times in UTC, 18 and 19 September 2026.

Chart data
Run, UTCTestsCoverageTag
18.09 20:1149
19.09 00:5172v1.0.0
19.09 01:0677
19.09 01:51104
19.09 02:23147
19.09 02:44159
19.09 02:52failed
19.09 03:0415972.6%
19.09 11:5123179.1%
19.09 12:1824979.4%
19.09 12:3526079.4%
19.09 18:4534882.5%v1.1.0

Coverage by file, v1.1.0

Share of PowerShell commands executed by the tests in each file of the release. The vertical line is coverage of the whole release.

Chart data
FileCommands executedCoverage
lib/Watcher.ps1127 / 12899.2%
lib/Suppression.ps166 / 6798.5%
lib/Rollback.ps1110 / 11496.5%
lib/State.ps1160 / 16895.2%
lib/Boost.ps1176 / 18694.6%
lib/Detection.ps190 / 9891.8%
lib/Core.ps121 / 2391.3%
lib/Recovery.ps1170 / 18790.9%
lib/SystemActions.ps133 / 4868.8%
lib/Status.ps124 / 4949%
ConfigValidation.ps158 / 6195.1%
TaskHelpers.ps117 / 2181%
gameboost.ps126 / 3672.2%
install.ps155 / 9955.6%
uninstall.ps10 / 610%
watcher.ps10 / 280%

In detail

What it does

When a game starts, it switches to the high-performance power plan, pauses Wallpaper Engine, lowers the priority of background processes (except an allowlist) and raises the game’s own. Games are recognised by the path of their executable: Steam libraries, Epic manifests, the Xbox folder and Minecraft on Java. Fifteen seconds after the game closes, everything goes back to how it was.

Rollback

Every change is written to a state file, and the rollback follows it. A process whose priority was raised is identified not only by its pid but also by name and start time: pids get reused, and an unrelated process must never receive someone else’s rollback. The watcher measures intervals with a monotonic clock rather than wall time, which can jump.

Checks

Release v1.1.0: 348 Pester tests, 82.5% coverage, green CI. The state file and markers were fuzzed for 700 iterations without a single exception. A release tag is set only after green CI and one more review pass that finds no new defects.

All projects