DELAPARRA
Index
Color
NL
Category: Programming paradigms

Speedup

Explained by Updated

What is Speedup?

Speedup: How much faster a parallel version runs compared to the sequential one, ideally close to the number of cores used. Speedup measures how much faster a task runs in parallel compared to running it sequentially. If a job takes 60 seconds on one core and 15 seconds on four, the speedup is four.

Definition source Coders Lingo, CC BY 4.0

Frequently asked questions about Speedup

How is Speedup used in practice?

In practice it is almost always lower than the number of cores. Part of the work cannot be split, workers must coordinate, and they may compete for the same database or disk. Amdahl's Law describes the limit set by the part that stays sequential.

What should you keep in mind with Speedup?

Measure before adding parallelism. Adding queue workers or threads helps until a shared resource becomes the bottleneck, and after that more workers just wait longer. If doubling the workers barely changes the total time, look for that bottleneck, which is often the database or an external API's rate limit.

At a glance

CategoryProgramming paradigms
Explained by
Updated

More Programming paradigms terms

All terms starting with S

Skills

Download all skills (zip)

Manuals

Related services

Need any help?

Stuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.