Work, Execution, and OperationsMental Models & Biases

Models, biases and fallacies for clearer judgement

Premature Optimisation

Engineers waste effort and add complexity when tuning systems before measuring real bottlenecks

How it works

Refining low-level efficiency before measuring real bottlenecks wastes engineering effort and locks in fragile complexity. Computer scientist Donald Knuth urged teams to ignore small efficiencies roughly 97% of the time while acting decisively on the critical 3%. Computational workloads and operational workflows both follow sharply skewed distributions. Because a tiny slice of code paths or process steps governs total runtime, tuning unprofiled segments leaves aggregate output flat. Meanwhile, speculative tweaks add defects, hurt maintainability, and harden guesses before real usage appears.

In practice

  • Production FORTRAN profiling: Knuth profiled live programs at Stanford and Lockheed and found fewer than 4% of source lines typically drove over half of total execution time.
  • 1980s automotive robotics: General Motors spent over US$40 billion adding station robotics before fixing product complexity and scheduling bottlenecks. Productivity still trailed Toyota's lightly automated NUMMI plant.

Limits and distinctions

Restraint on micro-optimisation never excuses architectural neglect. Selecting an asymptotically slow algorithm or unscalable data structure for known workloads creates structural debt from day one. In operations, this aligns with Eliyahu Goldratt's Theory of Constraints, where optimising non-bottlenecks leaves system throughput unchanged. Premature Optimisation also stays distinct from premature commercial scaling before Product/Market FitMental model · StrategyAcute unmet demand pulls a product into organic growth and sustained repeat usage, perfectionism, or speculative feature "gold plating".

Connections

The entries this page lists as related, and the entries elsewhere in the library that list it.

Point at a connected entry, or choose one belowTap a connected entry, or choose one below

Solid lines lead to the entries this page lists as related; dashed lines come from entries that list it.