×
  • Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
 

JavaScript - Optimising Where it Hurts (Jake Archibald)

by Web Developer at lanyrd on Nov 16, 2009

  • 20,093 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.

Statistics

Views

Total Views
20,093
Views on SlideShare
19,751
Embed Views
342

Actions

Likes
57
Downloads
405
Comments
7

27 Embeds 342

http://dears.tumblr.com 172
http://www.slideshare.net 54
http://lanyrd.com 43
http://overinsideout.blogspot.com.br 8
http://talksathome.com 7
http://overinsideout.blogspot.com 7
https://twitter.com 6
http://safe.tumblr.com 6
http://blog.livedoor.jp 5
http://twitter.com 5
http://notundefined.tumblr.com 5
http://localhost 4
http://onwebdev.blogspot.com 3
http://hi.chibaole.com 2
http://192.168.6.52 2
http://livedoor.blogcms.jp 2
https://p.yammer.com 1
http://overinsideout.blogspot.it 1
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
file:// 1
http://trunk.ly 1
http://zootool.com 1
http://static.slidesharecdn.com 1
More...

Accessibility

Categories

Upload Details

Uploaded via SlideShare as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel

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. 2 years ago
    Are you sure you want to
    Your message goes here
    Processing…
  • jaffathecake Jake Archibald, Web Developer at lanyrd Agreed, my first draft of the presentation had that stuff in, but got cut due to time 3 years ago
    Are you sure you want to
    Your message goes here
    Processing…
  • 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/
    3 years ago
    Are you sure you want to
    Your message goes here
    Processing…
  • alexsandro_xpt Alexsandro Pereira, Software Developer at Actcon Good bitwise explanation 4 years ago
    Are you sure you want to
    Your message goes here
    Processing…
  • jaffathecake Jake Archibald, Web Developer at lanyrd Yeah, I'll sync the audio to the slides here 4 years ago
    Are you sure you want to
    Your message goes here
    Processing…
  • 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)
    4 years ago
    Are you sure you want to
    Your message goes here
    Processing…
  • 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/
    4 years ago
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

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