Case studies
Work
Production systems with measured outcomes, plus personal projects. Real-work case studies are anonymised: names redacted, numbers honest.
Engineer on the optimisation arc
Provstiskyen: performance work on a 10-year SaaS
50s → 18s
App startup
Profiled and fixed the cold-start path on a 44,000-line R Shiny production app: 50-second logins down to 18, and 35-minute deploys down to 80 seconds, all on the existing codebase. The full rewrite that came later was made possible by a year of targeted optimisation work first.
Backtesting engine and scanner
Thoth
<2 ms
per-ticker backtest
Hot-loop discipline at the small scale: a 13-strategy backtest of the US equities universe finishes in seconds. Pure Polars expressions, threaded bulk runner, regime-gated strategies. The kind of code-level performance work I bring to bigger systems.
Anonymised, Danish specialty retailer
Inventory simulation arena
9 invariants
hot-loop locks
Polars-based simulation engine where seven candidate inventory strategies compete on years of real demand data. Nine source-level invariants guard the hot loop from accidental refactor regressions: the optimisation contract is written into the test suite.
This site
Tachyon
9,100 → 0.29 ns/pair
Python V0 → Zig V7
The same haversine kernel walked from a naïve pandas `.apply` through C++, Rust, Zig SIMD, and finally an analyzer-driven V7 in Zig that reads its own compiled assembly to land at 150 GB/s, plus a WebGPU compute lab in the browser. End-to-end demo of the optimisation work I do for clients.
Horus / Neper / Maat
Home GitOps cluster
4 nodes
ARM64 GitOps cluster
Bare-metal Kubernetes on 4× Raspberry Pi 4 with Flux, Cilium, Tailscale, an in-cluster Zot registry, and MinIO. The infrastructure layer of the optimisation work; same patterns I apply to bigger clusters at work.