Skip to main content
SS. M. Siam
November 4, 2026·6 min read·
#Benchmarks#Systems#Rust

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 sections

Why 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

bash· 2 lines
1git clone https://github.com/smsiam/lekhani-engine
2cargo 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%.

Sintaul Mahdi Siam
Sintaul Mahdi Siam
Systems developer · Rust · Linux · Android
all writing

Discussion & Peer Review

Questions, empirical pushbacks, and architecture discussions.

0 THREADS & REPLIES
Leave a comment
Reviewed before publishing

No published discussion threads yet.

Be the first to challenge a premise or start an inquiry.