Search by

ofirgalcon / geekbench

ofirgalcon

Geekbench module for MunkiReport. Download official Browser JSON into data/ (see data/README.md).

Package info

github.com/ofirgalcon/geekbench

pkg:composer/ofirgalcon/geekbench

Statistics

Installs: 10

Dependents: 0

Suggesters: 0

Stars: 3

Open Issues: 2

v5.0.2 2026-11-30 19:35 UTC

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.com is 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

  1. Added gpu_cores field to store the number of GPU cores for better matching of Apple Silicon devices
  2. Improved Apple M1/M2 processor detection and matching
  3. Fixed a known JSON error with Apple M1 Pro description (corrected GPU core count)
  4. Enhanced name mapping for newer Mac models
  5. Improved matching algorithm to better handle Apple Silicon Macs
  6. Added fallback matching with clear indication when using approximate matches
  7. Better handling of Metal vs OpenCL scores for different GPU types
  8. Local JSON snapshots in data/ when Geekbench Browser cannot be fetched (Cloudflare). Required — see above.
  9. 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.
  10. Admin page shows cache data source (Geekbench API vs local files) and score widgets / report
  11. UI labels use Geekbench 7
  12. Geekbench AI Neural Engine Quantized (ai_score) from geekbench_ai_neural_engine.json, shown on the client tab, listing, detail widget, and admin max scores