JavaScript - Optimising Where it Hurts (Jake Archibald)
by Jake Archibald on Nov 16, 2009
- 19,002 views
As the amount of JavaScript we use on our pages increases, as does its effect on page performance. Even when browsers manage to produce the same output, how they reach that output can be very ...
As the amount of JavaScript we use on our pages increases, as does its effect on page performance. Even when browsers manage to produce the same output, how they reach that output can be very different. Some optimisations aren’t obvious, others can be easily broken by seemingly unrelated statements. So, how do we get the most out of our code?
This presentation challenges assumptions about performance, using practical code to demonstrate the optimisations that really make a difference, and why they make a difference.
Accessibility
Categories
Upload Details
Uploaded via SlideShare as Adobe PDF
Usage Rights
© All Rights Reserved
Statistics
- Likes
- 57
- Downloads
- 402
- Comments
- 7
- Embed Views
- Views on SlideShare
- 18,669
- Total Views
- 19,002
As browsers and devices get faster, benchmarks that use fixed iteration counts have a greater chance of producing 0 ms results, which are unusable. Luckily, better alternatives are available. See http://calendar.perfplanet.com/2010/bulletproof-javascript-benchmarks/
Nowadays, for easy and reliable cross-browser performance testing you could just create a (private) jsPerf test case: http://jsperf.com/ 2 years ago
you could convert this into a slidecast by adding the audio mp3 file and synching it to the slides...
also if there is a youtube video to go along, that can be embedded in the presentationas well (also embedded in the comments) 3 years ago
I'll attach the audio after the recording at http://2009.full-frontal.org/ 3 years ago