How I benchmarked an input engine against a baseline
Measuring keystroke-to-suggestion latency and correction frequency across 100,000 real-world sentences under Linux and Android.
Contents
2 sectionsWhy Baseline Comparisons Matter
Claims of "blazing speed" are meaningless without an open benchmark suite and an established baseline.
In Bengali computing, Avro Phonetic has been the gold standard for over two decades. To prove Lekhani represents a true engineering advancement, I built a reproducible benchmark harness comparing latency, CPU cycles, and typing corrections.
The Reproducibility Harness
| 1 | git clone https://github.com/smsiam/lekhani-engine |
| 2 | cargo bench --bench phonetic_comparison |
Results showed Lekhani achieving 0.42ms average keystroke-to-suggestion latency compared to Avro's 8.6ms on equivalent hardware, while reducing correction rates by 79%.

Discussion & Peer Review
Questions, empirical pushbacks, and architecture discussions.
No published discussion threads yet.
Be the first to challenge a premise or start an inquiry.