• Email
  • Like
  • Save
  • Private Content
  • Embed
 

JavaScript - Optimising Where it Hurts (Jake Archibald)

by 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

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

Cancel

26 Embeds 333

http://dears.tumblr.com 170
http://www.slideshare.net 54
http://lanyrd.com 39
http://overinsideout.blogspot.com.br 8
http://talksathome.com 7
http://safe.tumblr.com 6
http://overinsideout.blogspot.com 6
https://twitter.com 6
http://notundefined.tumblr.com 5
http://twitter.com 5
http://blog.livedoor.jp 5
http://localhost 4
http://onwebdev.blogspot.com 3
http://livedoor.blogcms.jp 2
http://hi.chibaole.com 2
http://onwebdev.blogspot.com.es 1
http://blog.gabrieleromanato.com 1
http://overinsideout.blogspot.pt 1
http://lanyrd.dev 1
http://a0.twimg.com 1
http://trunk.ly 1
http://zootool.com 1
https://p.yammer.com 1
http://static.slidesharecdn.com 1
file:// 1
http://overinsideout.blogspot.it 1

More...

Statistics

Likes
57
Downloads
402
Comments
7
Embed Views
333
Views on SlideShare
18,669
Total Views
19,002

17 of 7 previous next Post a comment

  • vdboor Diederik van der Boor, Software developer, entrepreneur at Edoburu Going from page 116 to 117 + 118 is downright stunning, yet very scary. 1 year ago
    Are you sure you want to
  • jaffathecake Jake Archibald, Web Developer at lanyrd Agreed, my first draft of the presentation had that stuff in, but got cut due to time 2 years ago
    Are you sure you want to
  • mathiasbynens Mathias Bynens, Freelance front-end developer at Qiwi 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/
    2 years ago
    Are you sure you want to
  • alexsandro_xpt Alexsandro Pereira, Software Developer at Actcon Good bitwise explanation 3 years ago
    Are you sure you want to
  • jaffathecake Jake Archibald, Web Developer at lanyrd Yeah, I'll sync the audio to the slides here 3 years ago
    Are you sure you want to
  • AmitRanjan Amit Ranjan, CoFounder at SlideShare jake,

    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
    Are you sure you want to
  • jaffathecake Jake Archibald, Web Developer at lanyrd Some of the sentiment of the presentation is missing without audio. A few of the optimisations shown here aren't always worth making.

    I'll attach the audio after the recording at http://2009.full-frontal.org/
    3 years ago
    Are you sure you want to
Post Comment
Edit your comment

JavaScript - Optimising Where it Hurts (Jake Archibald) JavaScript - Optimising Where it Hurts (Jake Archibald) Presentation Transcript