Code / Topic guide

Computational performance and speedup

Use a consistent workload, correctness contract and timing boundary to compare computational performance.

Worked example

Reducing elapsed time from 120 to 30 seconds gives 4× speedup. Accelerating 80% of fixed work fourfold yields only 2.5× overall speedup.

Limitations

Amdahl and transfer calculations are idealized models, not benchmarks of real hardware.

Working calculators