HomeComputer ScienceMobile Device Farm Test Scheduler (2D)

Mobile Device Farm Test Scheduler (2D)

Interactive 2D Gantt-style simulator of a mobile CI/CD device farm: a greedy LPT bin-packing scheduler assigns a randomized test suite across parallel emulator lanes, flaky tests retry within a configurable budget, and live readouts track the resulting makespan and utilization. Drag to pan the timeline, scroll to zoom.

Computer Science2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-mobile-automated-testing ↗ Open standalone

Mobile CI/CD pipelines don't run automated tests one at a time — they fan a suite of unit, integration and UI tests out across a farm of parallel emulator or device shards, and the way that fan-out is scheduled directly decides how long every commit waits on green. This simulator builds a randomized test suite, packs it onto D parallel devices with a real greedy Longest-Processing-Time-first bin-packing scheduler, and renders the resulting timeline as a 2D Gantt chart: one horizontal lane per device, one block per test attempt. Each test attempt independently fails with an adjustable flake rate — the classic mobile-testing headache of a UI test that's timing-sensitive rather than actually broken — and gets automatically retried up to a configurable budget before it's quarantined as a real failure. Live readouts track the makespan, how much better LPT does than a naive round-robin assignment, device utilization, and how much of the pipeline's wall-clock time is pure retry overhead. Drag the chart to pan the timeline and scroll to zoom; a second strip charts per-device utilization for both scheduling strategies side by side.

⚙ Under the hood

Interactive 2D Gantt-style simulator of a mobile CI/CD device farm: a greedy LPT bin-packing scheduler assigns a randomized test suite across parallel emulator lanes, flaky tests retry within a configurable budget, and live readouts track the resulting makespan and utilization. Drag to pan the timeline, scroll to zoom, and toggle round-robin for comparison.

mobile testingci/cdschedulingbin packingflaky testsdevice farm

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)