Index Ai Academy
Glossary · Phase 7 · Software engineering

Amdahl's rule

Speeding up part of a job can only help that part: if 80% of time is sped up 4 times, the whole job takes 40% of the time, not 25%.

Try it now

Step through. The widest span is where a fix pays most.

Learn it properly

Profiling numeric code and a training loop · Where a training step spends its time, Amdahl's rule by hand, and cProfile on a loop with a slow batch function. About 40 minutes.

Other terms from the same lesson

  • perf_counter: Python's clock for timing code: call it before and after and subtract to get seconds.
Keep learning

More in plain English.

1286 terms in the glossary, each with the lesson that teaches it.

1286 terms

The glossary

Every word you'll meet in AI and machine learning, explained in everyday language.

Never trained an AI? Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account. Teach it to write