• Like
JavaScript - Optimising Where it Hurts (Jake Archibald)
Upcoming SlideShare
Loading in...5
×

JavaScript - Optimising Where it Hurts (Jake Archibald)

  • 16,524 views
Uploaded on

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.

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
  • Going from page 116 to 117 + 118 is downright stunning, yet very scary.
    Are you sure you want to
    Your message goes here
  • Agreed, my first draft of the presentation had that stuff in, but got cut due to time
    Are you sure you want to
    Your message goes here
  • I realize this presentation has been posted 2 years ago, but here’s some feedback from the future :)

    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/
    Are you sure you want to
    Your message goes here
  • Good bitwise explanation
    Are you sure you want to
    Your message goes here
  • Yeah, I'll sync the audio to the slides here
    Are you sure you want to
    Your message goes here
No Downloads

Views

Total Views
16,524
On Slideshare
0
From Embeds
0
Number of Embeds
4

Actions

Shares
Downloads
409
Comments
7
Likes
59

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide