https://github.com/layellie/standbyandtimer
Advanced RAM purge and 0.5 ms system timer-resolution tool for Windows.
https://github.com/layellie/standbyandtimer
csharp form optimizer performance ram-optimization standby-list system-timer timer utility windows
Last synced: 11 days ago
JSON representation
Advanced RAM purge and 0.5 ms system timer-resolution tool for Windows.
- Host: GitHub
- URL: https://github.com/layellie/standbyandtimer
- Owner: Layellie
- License: mit
- Created: 2026-04-17T11:37:43.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2026-06-26T14:30:09.000Z (12 days ago)
- Last Synced: 2026-06-26T16:21:47.519Z (12 days ago)
- Topics: csharp, form, optimizer, performance, ram-optimization, standby-list, system-timer, timer, utility, windows
- Language: C#
- Homepage:
- Size: 193 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# StandbyAndTimer
A Windows desktop utility for reducing input latency and managing system memory — designed for gamers and power users.
> **v2.0.7** — UI polish: logs viewer is readable now (was invisible against the panel), the settings refresh button no longer clips, and the main window no longer shifts when you press Settings / Timer (was `SizeToContent` reflowing). The original WinForms release is preserved as [`v1.0.0`](https://github.com/Layellie/StandbyAndTimer/releases/tag/v1.0.0) on the [`winforms-archive`](https://github.com/Layellie/StandbyAndTimer/tree/winforms-archive) branch.
## Features
- **Timer Resolution Lock** — pins the system timer at 0.5 ms via `NtSetTimerResolution` for lower input latency
- **Standby Memory Purge** — manual and automatic cleanup of the Windows Standby memory list via `NtSetSystemInformation`
- **Game Mode** — sets High CPU priority and full affinity on user-configured game processes
- **System Tray** — runs in the background with optional launch at Windows startup
- **Dark / Light themes** with English & Turkish localization
- **Built-in update checker** against GitHub Releases (download & install from inside the app)
## Installation
1. Go to [Releases](https://github.com/Layellie/StandbyAndTimer/releases) and download the latest `StandbyAndTimer_Setup_X.Y.Z.exe`
2. Run the installer (UAC will prompt — Administrator privileges required)
3. Launch from the Start Menu
**Requirements:** Windows 10 21H1+ or Windows 11, x64, Administrator privileges. No separate .NET runtime install needed — the installer ships a self-contained .NET 10 build.
## Architecture
WPF (.NET 10) with MVVM. All Win32 P/Invoke calls are isolated in `Services/Native/NativeMethods.cs`. See [`ARCHITECTURE.md`](ARCHITECTURE.md) for the full design breakdown.
## Build from source
```powershell
# Build (Debug or Release)
dotnet build StandbyAndTimer/StandbyAndTimer.csproj -c Release
# Run (must be Administrator for the P/Invoke calls to succeed)
dotnet run --project StandbyAndTimer/StandbyAndTimer.csproj
```
To produce a redistributable installer ([Inno Setup 6](https://jrsoftware.org/isdl.php) required):
```powershell
.\build-installer.ps1 -Version 2.0.7
```
Output: `installer/dist/StandbyAndTimer_Setup_2.0.7.exe` (~72 MB self-contained).
## Install via winget
Once the package is published to the community repository:
```powershell
winget install Layellie.StandbyAndTimer
```
The manifest lives at [`winget-manifests/`](winget-manifests/) and is submitted to [microsoft/winget-pkgs](https://github.com/microsoft/winget-pkgs) with each release.
## Version history
| Tag | Stack | Notes |
|---|---|---|
| [`v2.0.7`](https://github.com/Layellie/StandbyAndTimer/releases/tag/v2.0.7) | WPF (.NET 10) | Current — settings panel UI polish (readable logs, refresh button no-clip, no window shift on Settings/Timer click) |
| [`v2.0.6`](https://github.com/Layellie/StandbyAndTimer/releases/tag/v2.0.6) | WPF (.NET 10) | First-run wizard, crash reporter, logs viewer, game auto-detect, winget manifest |
| [`v2.0.5`](https://github.com/Layellie/StandbyAndTimer/releases/tag/v2.0.5) | WPF (.NET 10) | Game Mode EcoQoS opt-out fix, dedicated AVRT watchdog thread for tighter 0.5 ms lock |
| [`v2.0.4`](https://github.com/Layellie/StandbyAndTimer/releases/tag/v2.0.4) | WPF (.NET 10) | AUTO PURGE master switch + safer defaults (0 MB thresholds) |
| [`v2.0.3`](https://github.com/Layellie/StandbyAndTimer/releases/tag/v2.0.3) | WPF (.NET 10) | Sub-500 ms startup, accurate Free-RAM accounting, timer auto-lock on launch |
| [`v2.0.2`](https://github.com/Layellie/StandbyAndTimer/releases/tag/v2.0.2) | WPF (.NET 10) | Card UI + lime accent, timer auto-start fix |
| [`v2.0.1`](https://github.com/Layellie/StandbyAndTimer/releases/tag/v2.0.1) | WPF (.NET 10) | P0 fixes + update integrity verification |
| [`v2.0.0`](https://github.com/Layellie/StandbyAndTimer/releases/tag/v2.0.0) | WPF (.NET 10) | Initial WPF release |
| [`v1.0.0`](https://github.com/Layellie/StandbyAndTimer/releases/tag/v1.0.0) | WinForms (.NET Framework) | Original — archived on the [`winforms-archive`](https://github.com/Layellie/StandbyAndTimer/tree/winforms-archive) branch |
## License
Copyright © LAYE77IE