Skip to content

Data Pipeline Throughput Calculator

Calculate throughput from non-overlapping serial batch stages or observed end-to-end completed samples and elapsed time. Keep measurement scopes explicit.

Use this result well

Inputs that matter
Samples per batch, Loading time (ms), Preprocessing time (ms), Other serial time (ms), and 2 more
Output to expect
Modeled serial throughput, Observed average throughput
  • Check the units and required inputs before comparing results.
  • Keep the assumptions with a copied result so you can reproduce the calculation later.
Was this tool helpful?

Reference & details

How it works

Serial batch-stage throughput

Samples/s = batch samples × 1000 ÷ (load ms + preprocess ms + other ms) A serial arithmetic model.

Observed end-to-end throughput

Observed samples/s = completed samples ÷ elapsed seconds A count divided by its observed interval.

Updated: September 2026

Example Scenarios

Measure a batch and identify stage boundaries. Confirm that the entered intervals do not overlap. Add other serial work explicitly. Use observed end-to-end mode when workers or prefetching overlap work.

Define the start/end boundary and included work. Record completed samples and elapsed wall-clock time. Calculate the observed average. Compare runs with the same data, configuration and warm-up policy.

Common Mistakes to Avoid

Applying serial batch-stage throughput outside its measurement scope

The longer stage alone does not establish an I/O, CPU or GPU bottleneck. Prefetching, parallel workers and asynchronous device work require end-to-end measurement. This does not infer production request capacity from a data-loading batch.

Applying observed end-to-end throughput outside its measurement scope

Include stalls and overlapping work according to your stated interval. An average does not show latency percentiles, bursts or bottleneck causes. Extrapolation assumes the same workload and conditions.

FAQ

Only when other serial time is positive; the total interval must be positive.

No. Use a measured elapsed interval with an observed processed count.

Only if that serial time is explicitly included; otherwise it is a data-pipeline estimate.

Yes. A positive interval with no completed samples has zero throughput.

The arithmetic can use their combined completed count and one shared elapsed interval.

Only if the measured interval represents the complete compatible training work and overhead is not counted again.

About Data Pipeline Throughput Calculator

Calculate throughput from non-overlapping serial batch stages or observed end-to-end completed samples and elapsed time. Keep measurement scopes explicit.