ofirgalcon / geekbench
Geekbench module for MunkiReport. Download official Browser JSON into data/ (see data/README.md).
Requires
- php: ^7.4|^8.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-11-30 19:38:37 UTC
README
Reports Geekbench CPU and GPU scores for Macs by matching machine and GPU inventory against Geekbench Browser benchmark lists. On Apple silicon it also matches a local Geekbench AI Neural Engine (Quantized) average by chip.
The client script uploads GPU info on each check-in. The server rematches when scores are missing, older than a week, or the GPU model changed; otherwise it skips the heavy match. Opening the Geekbench tab (or Pull Geekbench Scores) also rematches if empty/stale once machine inventory exists. The server does not run Geekbench on the Mac. It matches the Mac against JSON device lists, then stores the scores.
Required: three Geekbench Browser JSON dumps in
data/. Without them, CPU/GPU matching will not work.
curl/ server fetch will not work —browser.geekbench.comis behind Cloudflare. Use a real browser, save the files, then Admin → Geekbench → Refresh Cached JSON Files.Step-by-step (URLs, filenames, Cloudflare, install paths): see
data/README.md.
What this repo ships in data/
| File | Shipped? |
|---|---|
geekbench_placeholder_mac_devices.json |
Yes — extra Mac configs not yet on the official Mac chart |
geekbench_ai_neural_engine.json |
Yes — AI Neural Engine Quantized averages by chip |
mac-benchmarks.json |
No — download yourself (Browser) |
metal-benchmarks.json |
No — download yourself (Browser) |
opencl-benchmarks.json |
No — download yourself (Browser) |
Official Browser dumps are Primate Labs’ benchmark data and are not redistributed here. After you place the three files in data/, open Admin → Geekbench → Refresh Cached JSON Files (should show Local fallback files), then Update Clients or wait for check-ins.
Placeholder rows can be removed once the same chip + CPU/GPU cores appear in mac-benchmarks.json. AI scores match by chip name only.
Installation
Copy this module into local/modules/geekbench (or install it with Composer) and add geekbench to MODULES in .env. Rebuild and redistribute the client package.
Then install the three JSON files as above. Enabling the module without them will not produce scores.
Table Schema
- id - Unique ID
- serial_number - Machine's serial number
- score - int - Single CPU score
- multiscore - int - Multi CPU score
- model_name - string - Geekbench's model name
- description - string - Geekbench's CPU name
- samples - int - Number of samples in Geekbench
- cuda_score - bigint - Score for CUDA (NVIDIA GPUs only)
- cuda_samples - bigint - How many samples are in Geekbench
- opencl_score - bigint - Score for OpenCL
- opencl_samples - bigint - How many samples are in Geekbench
- metal_score - bigint - Score for Metal
- metal_samples - bigint - How many samples are in Geekbench
- ai_score - bigint - Geekbench AI Neural Engine Quantized score (Apple silicon)
- ai_samples - int - Sample count for the AI average
- gpu_name - string - Name of the GPU that is matched
- last_run - bigint - Timestamp of when scores were last processed for machine
- gpu_cores - int - Number of GPU cores
Updates
- Added
gpu_coresfield to store the number of GPU cores for better matching of Apple Silicon devices - Improved Apple M1/M2 processor detection and matching
- Fixed a known JSON error with Apple M1 Pro description (corrected GPU core count)
- Enhanced name mapping for newer Mac models
- Improved matching algorithm to better handle Apple Silicon Macs
- Added fallback matching with clear indication when using approximate matches
- Better handling of Metal vs OpenCL scores for different GPU types
- Local JSON snapshots in
data/when Geekbench Browser cannot be fetched (Cloudflare). Required — see above. - Optional placeholder Mac rows (
geekbench_placeholder_mac_devices.json) appended after the official Mac list. Matching and max/bar lookup use Mac JSON first, then placeholders, then Metal/OpenCL JSON. - Admin page shows cache data source (Geekbench API vs local files) and score widgets / report
- UI labels use Geekbench 7
- Geekbench AI Neural Engine Quantized (
ai_score) fromgeekbench_ai_neural_engine.json, shown on the client tab, listing, detail widget, and admin max scores