Verified with Jitter v0.1.2 engine on synthetic validation suite (Macro-F1 1.0000, ECE 0.0398).

JITTER / REFERENCE

Introduction

Why single-number benchmarks mislead and how Jitter isolates on-device ML variance.

The Single-Median Fallacy

When an ML model feels slow or inconsistent on an Android device, running a benchmark and recording a single median latency cannot tell you why. On heterogeneous mobile SoCs (CPU, GPU, NPU, DSP), runtime performance is governed by dynamic non-stationary physical processes: thermal throttling, DVFS frequency scaling, driver JIT compilation, kernel fallback, and background scheduling contention.

Two identical benchmark runs showing a 28 ms median can have completely different root causes: one might be a model that runs at 14 ms when cold but slows down under sustained thermal load; another might be a model that silently fell back from GPU to CPU due to an unsupported operator kernel; while a third might be suffering from intermittent background OS process contention.

Jitter replaces the single-number benchmark with a controlled 4-rerun protocol that systematically perturbs one variable at a time while logging aligned hardware telemetry.

What Jitter Is and Is Not

Jitter is a root-cause diagnosis engine, CLI, statistics core, and Android wire protocol created by Ayush Dubey. It is designed specifically for ML engineers, on-device runtime developers, and performance teams.

Jitter is NOT a model quantization tool, a cloud device farm, or an OS profiler like Simpleperf or Perfetto. Instead, it serves as the automated reasoning layer that takes repeated physical measurements and classifies the underlying cause with rigorous statistical confidence.

Diagnostic MechanismPhysical Distinguishing SignalEvidence Grounding
Warmup DriftInitial iterations exceed steady-state; sharp convergenceCUSUM change-point with ≥ 1 discard iteration
Thermal ThrottlingMonotonic climb in rolling median; cooldown restores speedTheil-Sen slope ≥ 0.02 ms/iter with elevated thermal state
Delegate FallbackStep change in median; telemetry reports fallbackCliff's delta |δ| ≤ 0.147 against CPU baseline
Background NoiseSparse high-latency tail spikes; quiet device eliminatesQuiet mode p99 reduction ratio ≥ 20%
Genuine RegressionUniform degradation across all four controlled rerunsAbsence of transient failure modes; Hodges-Lehmann shift
InconclusiveHigh noise-to-signal or inadequate sample sizeGeyer IPS effective sample size n_eff < 30 or N < 15
Authored by Ayush Dubey · MIT LicenseEdit documentation on GitHub