-
Notifications
You must be signed in to change notification settings - Fork 11
05 Performance
When it comes to performance, there are important things and there is perceived latency.
- Perceived latency
-
what users think affects performance and causes delays, what they see, while often having NOTHING to do with actual performance, is what really matters and makes them say your code works fast or slow.
-
Highest-voted StackOverflow answer to performance "how to" question is highest-voted mainly due to it covering perceived latency
-
Google article explaining perceived latency - explains how you can make your website simple, assure your users when they’re waiting and have good UI messages.
-
-
JS Perf
-
Benchmark JS - JSPerf is based upon this
-
Front-end dev tools:
-
JSLitmus for NPM
-
JSLitmus original
-
https://duzun.me/playground/js_speed{JS Speed] - simple and fast tool
ℹ️
|
Switch statement compilation:
1. Wikipedia
2. Older OReilly article about efficient JS, the part about |
HTML -> CSS -> JS; only then we move on to apps and frameworks. Always remember to pace yourself.