Skip to content

Speedup

Speedup is a metric that quantifies the typing efficiency gains achieved by magic keys in a keyboard layout. It measures the percentage reduction in total keystrokes when magic key optimizations are applied compared to typing normally without magic.

Speedup is calculated by comparing the source corpus’s unigram count against the resolved physical event count after magic-key optimization. Presses, hold acquisitions, and hold releases each count as one resolved event:

Speedup%=max(0,1Resolved EventsOriginal Unigrams) \text{Speedup}\% = \max\left(0, 1 - \frac{\text{Resolved Events}}{\text{Original Unigrams}}\right)

Where:

  • Original Unigrams: Total character count in the text corpus without any magic optimizations
  • Resolved Events: Total physical press, hold-acquisition, and hold-release events in the optimized keymaxx output