Skip to main content
██████╗ ██████╗  ██████╗  ██████╗████████╗██╗  ██╗██╗   ██╗███╗   ███╗██████╗ ███████╗██████╗
██╔══██╗██╔══██╗██╔═══██╗██╔════╝╚══██╔══╝██║  ██║██║   ██║████╗ ████║██╔══██╗██╔════╝██╔══██╗
██████╔╝██████╔╝██║   ██║██║        ██║   ███████║██║   ██║██╔████╔██║██████╔╝█████╗  ██████╔╝
██╔═══╝ ██╔══██╗██║   ██║██║        ██║   ██╔══██║██║   ██║██║╚██╔╝██║██╔═══╝ ██╔══╝  ██╔══██╗
██║     ██║  ██║╚██████╔╝╚██████╗   ██║   ██║  ██║╚██████╔╝██║ ╚═╝ ██║██║     ███████╗██║  ██║
╚═╝     ╚═╝  ╚═╝ ╚═════╝  ╚═════╝   ╚═╝   ╚═╝  ╚═╝ ╚═════╝ ╚═╝     ╚═╝╚═╝     ╚══════╝╚═╝  ╚═╝

🔥 Cross-platform CPU · GPU · AI stress-test tool with a live dark-themed Qt UI

Release Python PyQt6 License Tests

macOS Windows Linux


⚡ What is procThumper?

procThumper hammers every compute subsystem in your machine simultaneously and shows you exactly what is happening in real time — no installation required on end-user machines.

┌──────────────────────────────────────────────────────────────────────────────┐
│  File                                                                        │
├──────────────────────────────────────────────────────────────────────────────┤
│ 🟢 CPU  ──────────────────────────────────────────────────────────────────── │
│  Threads: [8 ▲▼]  ▶ Start  ■ Stop   ◉ RUNNING                               │
│  ┌─ Thread Activity (MOPS) ─────────────────────────────────────────────┐    │
│  │  ████████████████████████████████ 14.7 MOPS  ████████████████ 13.2  │    │
│  └──────────────────────────────────────────────────────────────────────┘    │
│  ┌─ Core Utilisation % ─────────────────────────────────────────────────┐    │
│  │  ▂▄▆█▆▄▂▄▆█  ▂▄▆█▆▄▂▄▆█  ▂▄▆█▆▄▂▄▆█  ▂▄▆█▆▄▂▄▆█  (all 8 cores)    │    │
│  └──────────────────────────────────────────────────────────────────────┘    │
├─────────────────────  ▶ START ALL   ■ STOP ALL  ─────────────────────────────┤
│ 🟠 GPU  ─────────────────── │ 🟣 NPU / AI  ──────────────────────────────── │
│  Dispatches: [4 ▲▼]         │   Threads: [2 ▲▼]  ▶ Start  ■ Stop           │
│  ┌─ GFLOPS ───────────────┐ │  ╔═══════════════════════════════╗             │
│  │  ▂▄▆█▆▄▂▄▆█▆▄▂▄▆ 842  │ │  ║      2.847  TOPS             ║             │
│  └────────────────────────┘ │  ╚═══════════════════════════════╝             │
│  ┌─ GPU Util % ───────────┐ │  ┌─ Latency ms ──┐  ┌─ Throughput ──────────┐ │
│  │  ████████████████ 91%  │ │  │  ▂▄▆▄▂▄▆ 3.2 │  │  infs/s ·· TOPS      │ │
│  └────────────────────────┘ │  └───────────────┘  └──────────────────────┘ │
├──────────────────────────────────────────────────────────────────────────────┤
│ CPU LOAD  CPU TEMP  CPU POWER  CPU FREQ  GPU LOAD  GPU TEMP  RAM USED        │
│  87.3%    68.4°C    22.1W     3800MHz   91.2%     74°C      9.1 GB          │
└──────────────────────────────────────────────────────────────────────────────┘

✨ Features

🟢 CPU Stress Engine

Spawns N GIL-free worker processes cycling through three punishment phases:

  • 🔢 FP phase — sin·cos + sqrt trig on LCG pseudo-random inputs
  • 🔀 Integer phase — XOR + shift + multiply with intentional pipeline stalls
  • 🌿 Branch phase — 4-way random conditionals with ~25% predictor hit rate

Live per-thread graph auto-scales: OPS → KOPS → MOPS → GOPS → TOPS

🟠 GPU Compute Engine

Dispatches 256×256 float32 matrix-multiply kernels in parallel:

  • 🍎 macOS — Metal via metalcompute
  • 🪟 Windows / 🐧 Linux — OpenCL via pyopencl

~33 M FLOPs per dispatch. Live GFLOPS throughput graph + GPU utilisation %.

🟣 NPU / AI Inference Engine

Runs real MobileNetV2 inference via ONNX Runtime, auto-selecting the best EP:

Priority Provider Platform
1 CoreML 🍎 Apple ANE
2 DirectML 🪟 Intel/AMD NPU
3 CUDA 🟩 NVIDIA GPU
4 ROCM 🔴 AMD GPU
5 CPU All platforms

Live TOPS display, latency graph, and throughput chart.

🔵 System Telemetry Bar

Always-on bottom strip with sparkline graphs for every metric:

Tile Source
🟢 CPU Load % psutil (blocking, race-free)
🌡️ CPU Temp psutil.sensors_temperatures
⚡ CPU Power powermetrics (macOS)
📶 CPU Freq psutil.cpu_freq
🟠 GPU Load % NVML / powermetrics
🌡️ GPU Temp NVML / powermetrics
🧠 RAM Used psutil.virtual_memory

Tiles unavailable on the current platform hide themselves after 5 s.


🚀 Quick Start

Run from source

# 1. Clone
git clone https://github.com/007Style/procThumper.git
cd procThumper

# 2. Virtual environment
python3 -m venv .venv

# 3. Install (pick your platform)
source .venv/bin/activate          # macOS / Linux
# .venv\Scripts\Activate.ps1       # Windows PowerShell

pip install -e ".[macos]"          # 🍎 macOS
pip install -e ".[windows]"        # 🪟 Windows  (+ pip install wmi  for sensors)
pip install -e .                   # 🐧 Linux

# 4. Download the AI model (one-time, ~14 MB)
curl -L -o src/procthumper/assets/model/mobilenetv2.onnx \
  https://github.com/onnx/models/raw/main/validated/vision/classification/mobilenet/model/mobilenetv2-12.onnx

# 5. Launch 🔥
python -m procthumper

Use the pre-built DMG (macOS only)

Download procThumper.dmg from Releases, mount it, drag to Applications. No Python needed.

First launch on macOS: Right-click → Open to bypass Gatekeeper (app is ad-hoc signed, not notarised).


🏗️ Building Your Own Distributable

PyInstaller does not cross-compile — build on the target OS.

Platform Command Output
🍎 macOS bash build/build_macos.sh dist/macos/procThumper.dmg
🪟 Windows build\build_windows.bat dist\windows\procThumper.zip
🐧 Linux bash build/build_linux.sh dist/linux/procThumper.tar.gz

All three scripts: print Python + PyInstaller versions, exit on error, and package the output into a distributable archive automatically.


🧪 Testing

pip install -e ".[dev]"   # adds pytest + pytest-env
python -m pytest          # 42 tests, ~5 seconds, fully headless
File Tests Covers
tests/smoke_test.py 6 Imports, HardwareProfile, AI constants, queue helpers, styles, MainWindow
tests/test_cpu_worker.py 10 _scale_ops() all tiers, table validity, worker ops/sec, stop behaviour
tests/test_telemetry_worker.py 6 _poll_psutil() keys + ranges, blocking CPU util, worker lifecycle
tests/test_dialogs.py 10 About/Help windows, animated canvas, HTML content, sizes
tests/test_main_window.py 10 File menu, Help/About, F1 shortcut, separator, panels, start/stop

📁 Project Layout

procThumper/
├── 📂 src/procthumper/
│   ├── 🐍 main.py                 Entry point + freeze_support bootstrap
│   ├── 📂 ui/
│   │   ├── main_window.py         QMainWindow + File menu
│   │   ├── cpu_panel.py           CPU stress + auto-scaling ops graph
│   │   ├── gpu_panel.py           GPU stress (Metal / OpenCL)
│   │   ├── ai_panel.py            ONNX Runtime NPU inference panel
│   │   ├── telemetry_bar.py       Live sensor tiles + sparklines
│   │   ├── about_window.py        Animated About dialog (v1.0.0)
│   │   ├── help_window.py         Scrollable Help dialog
│   │   └── styles.py              Global stylesheet + colour constants
│   ├── 📂 workers/
│   │   ├── cpu_worker.py          Multiprocessing stress loop
│   │   ├── gpu_worker.py          Metal / OpenCL matrix-multiply
│   │   ├── ai_worker.py           ONNX inference thread
│   │   └── telemetry_worker.py    System sensor polling thread
│   └── 📂 utils/
│       ├── hardware_detect.py     HardwareProfile singleton
│       └── metrics_queue.py       Queue utilities
├── 📂 assets/model/
│   └── mobilenetv2.onnx           ← download separately (see above)
├── 📂 build/
│   ├── procThumper.spec           PyInstaller spec (all platforms)
│   ├── build_macos.sh             🍎 → .app + .dmg
│   ├── build_linux.sh             🐧 → dir + .tar.gz
│   └── build_windows.bat          🪟 → dir + .zip
├── 📂 tests/                      42 headless unit tests
├── pyproject.toml                 Package metadata + pytest config
└── README.md                      You are here

🔧 Platform Notes

🍎 macOS
  • Apple Silicon (M1/M2/M3/M4): ONNX Runtime auto-detects the Neural Engine via CoreMLExecutionProvider — expect genuine TOPS-class AI throughput.
  • Intel Mac: Falls back to CPUExecutionProvider with AVX2 SIMD.
  • powermetrics: CPU/GPU power + temperature data requires sudo -n powermetrics (passwordless sudo). The app never prompts — tiles hide silently if permission is denied.
  • Gatekeeper: Right-click → Open on first launch, or self-sign: codesign --deep --force --sign - procThumper.app
🪟 Windows
  • GPU: OpenCL 1.2+ required (Intel, AMD, or NVIDIA GPU driver).
  • NPU: DirectML execution provider supported for Intel/AMD NPUs.
  • NVIDIA: pynvml bundled — GPU temperature, power, and utilisation work out-of-the-box.
  • Sensors: Install wmi for CPU temperature data via OpenHardwareMonitor.
  • Defender: PyInstaller binaries may be flagged. Add a folder exclusion in Windows Security → Virus & threat protection → Exclusions.
🐧 Linux
  • Display: X11 or Wayland + XWayland required. For headless testing: QT_QPA_PLATFORM=offscreen.
  • GPU: Install your vendor's OpenCL ICD: ocl-icd-libopencl1 + intel-opencl-icd / nvidia-opencl-icd / rocm-opencl-icd.
  • libGL/EGL: sudo apt install libgl1 libegl1 (Debian/Ubuntu) or sudo dnf install mesa-libGL mesa-libEGL (Fedora).
  • glibc: Build on the oldest target distro for maximum compatibility (Ubuntu 20.04 / glibc 2.31 recommended).

🐛 Known Bugs Fixed in v1.0.0

Bug Root cause Fix
Multiple GUI windows when starting CPU stress multiprocessing.freeze_support() missing — spawned worker processes re-executed the frozen app entry point Added freeze_support() at top of main()
CPU LOAD always 0% in telemetry bar psutil.cpu_percent(interval=None) shares an internal timer with the CPU panel's 5 Hz per-core sampler; last reset was always milliseconds ago Changed to blocking interval=0.1 — self-contained, race-free measurement

📦 Dependencies

Package Purpose Platform
PyQt6 UI framework All
pyqtgraph Live charts + sparklines All
numpy Array ops for GPU/AI workers All
psutil CPU/RAM metrics All
onnxruntime AI inference (MobileNetV2) All
pyinstaller Binary packaging All (build time)
metalcompute Metal GPU backend 🍎 macOS
pyopencl OpenCL GPU backend 🪟🐧 Win/Linux
pynvml NVIDIA telemetry 🪟🐧 Win/Linux
wmi Windows CPU sensors 🪟 Windows (optional)

👥 Credits

Built with 🔥 by

Daneyand  ·  daneyand@ibm.com

 + 

IBM's Bob — AI pair programmer


"From the minds of Daneyand and IBM's Bob"


📄 License

MIT — see LICENSE for details.


⭐ If procThumper melted your CPU, give it a star ⭐

Star History

Metadata

Release files for procthumper 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for procthumper 1.0.0
File Size Uploaded Provenance Actions
procthumper-1.0.0.tar.gz 13.0 MB Without provenance Details for procthumper-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for procthumper 1.0.0
File Interpreter ABI Platform Actions
procthumper-1.0.0-py3-none-any.whl Python 3 none any Details for procthumper-1.0.0-py3-none-any.whl

Total release size: 26.0 MB

Release files / procthumper-1.0.0.tar.gz

Download URL procthumper-1.0.0.tar.gz
Size 13.0 MB
Tags Source
SHA-256 checksum
How to use checksums
b9cf5077690de31f029ad833aa4453f6a870a1f5801a00e28157d561e0761d21
BLAKE2b-256 checksum
How to use checksums
d2d4fe17d71db343ea25410b9d390d18df75ef3dd18d79fecd63191fce287056
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Release files / procthumper-1.0.0-py3-none-any.whl

Download URL procthumper-1.0.0-py3-none-any.whl
Size 13.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
8c03725d8d4dcd5d34fcd6d68aadd657e74457c214f9b2fc5e1036c242daca0a
BLAKE2b-256 checksum
How to use checksums
5c4e072a30d76731bcf25a3614e40ac80e2273df8ca68cb0dbc3e3736700ac03
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Security for procthumper 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page