Skip to main content

Boosting JavaScript Performance

  • Chapter
  • First Online:
Pro JavaScript Development
  • 2879 Accesses

Abstract

In this chapter, we’ll look at how to improve the performance of JavaScript applications through coding tips, techniques, best practices, and modern APIs. I take my view on performance holistically, meaning I take the lifecycle of the whole application into account. That means that instead of focusing purely on the number of lines of code executed, I appreciate that the perceived performance of an application can be improved by faster and more efficient JavaScript file loading, as well as more efficient calls, selectors, and even through CSS and HTML optimizations. In this chapter, however, we’ll focus specifically on what we can do with JavaScript code and files to improve the performance of our web sites and applications. If you would like to read more about improving rendering performance for your page, take a look at Addy Osmani’s excellent case study on this topic, titled “Gone In 60 Frames Per Second” via http://bit.ly/gone_60 .

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 44.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2014 Den Odell

About this chapter

Cite this chapter

Odell, D. (2014). Boosting JavaScript Performance. In: Pro JavaScript Development. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-6269-5_4

Download citation

Publish with us

Policies and ethics