What Is Real-Time Factor (RTF)? Understanding ASR Speed and Latency
Real-time factor (RTF) is wall-clock processing time divided by input audio duration. An RTF below 1 does not guarantee low streaming latency or high concurrent capacity, so check the measurement scope and load conditions.
What Is Real-Time Factor (RTF)? Understanding ASR Speed and Latency
Real-time factor (RTF) is the wall-clock time required to process speech divided by the duration of the input audio: RTF = processing time / audio duration. Lower is faster. But RTF alone does not tell you streaming latency, the user’s response time, or how many concurrent streams a server can handle.
Calculate RTF
If a system processes 30 seconds of audio in 6 seconds, its RTF is 6/30 = 0.2. For offline processing, that is five times faster than the audio’s duration. If it takes 45 seconds, RTF is 1.5: computation took longer than the input. Some sources report the reciprocal, RTFx = audio duration / processing time, where higher is faster. Check which convention is being used.
Why RTF below 1 does not guarantee real-time behavior
RTF measured on a complete file summarizes average processing speed. In streaming, the model must keep up while audio arrives. Even when average RTF is below 1, a slow segment can make buffers fall behind. Waiting to collect a chunk, model look-ahead context, end-of-speech detection, and final transcript commitment all add to the time a user waits.
RTF is therefore an indicator of real-time feasibility, not end-to-end latency. For live captions or voice assistants, measure task-relevant times as well, such as time to first output, time from the end of speech to a finalized result, or per-word user-perceived delay.
Speed, throughput, and latency are different
**RTF:** processing time divided by audio duration; lower is faster.
**Reciprocal RTF (RTFx):** audio seconds processed per wall-clock second; higher is faster.
**Throughput:** amount of audio processed over time or number of streams served concurrently; it describes system capacity.
**Latency:** time from input to delivery of a partial or final result to the user.
Increasing concurrent streams can raise total system throughput while worsening per-stream RTF or latency. Streaming ASR studies also find that chunk size and concurrency affect throughput, RTF, and user-perceived delay differently. Record single-file RTF separately from concurrent-load results.
Measure systems fairly
**Define the measurement boundary.** Decide whether timing covers model inference only or also feature extraction, preprocessing, decoding, postprocessing, and network round trips. To assess a service, include the stages on its actual path.
**Record the hardware and software.** Note CPU/GPU, core count, memory, accelerator, precision, thread count, and software versions. RTF changes with hardware and concurrency.
**Match input conditions.** Use comparable audio duration, sample rate, channels, language, speech style, noise, and reverberation, or state the differences.
**Separate startup and steady-state cost.** Report first-run time, including model loading or compilation, separately from repeated inference after warm-up. State what is included.
**Measure a distribution.** Report more than the mean: include the median and upper percentiles such as p90 or p95, and inspect long or difficult inputs for spikes.
**Compare accuracy too.** Faster settings can increase word error rate (WER). Measure speed and accuracy on the same data or compare an RTF–WER trade-off curve.
Interpreting a result
A batch model with RTF 0.2 may finish files quickly, but that does not show it can emit captions during a live conversation. With long streaming chunks, computation may be fast once a chunk is available, yet the system must wait for that chunk to accumulate. Conversely, an average RTF of 0.8 may still include slow-tail requests delayed by end-of-speech detection or network time.
In brief
RTF is a simple summary of processing time relative to audio duration. Check whether a report uses RTF or its reciprocal, and align hardware, concurrency, and measurement scope. To evaluate streaming responsiveness and capacity, also measure throughput, first and final output latency, and upper-percentile behavior.
References
[How Might We Create Better Benchmarks for Speech Recognition?](https://aclanthology.org/2021.bppf-1.4.pdf)
[Scaling Up Online Speech Recognition Using ConvNets (Interspeech 2020)](https://www.isca-archive.org/interspeech_2020/pratap20b_interspeech.pdf)
[Dissecting User-Perceived Latency of On-Device E2E Speech Recognition (Interspeech 2021)](https://www.isca-archive.org/interspeech_2021/shangguan21_interspeech.pdf)