Chris Spann is Ar WaithBack to slides

Clicks feel slow

Try the counter while a five-second calculation runs.

All speed examples · Reload this example

Try clicking while work runs

Ready.

What changed?

The calculation blocks the main thread for five seconds. Clicks, typing and visual updates have to wait. Even the “Calculating…” message may not paint before the work finishes. The same timed work runs in both versions. A worker helps suitable CPU work; reducing unnecessary work or splitting tasks may be the better fix elsewhere.