Book Image

Mastering JavaScript High Performance

By : Chad R. Adams
Book Image

Mastering JavaScript High Performance

By: Chad R. Adams

Overview of this book

<p>Studying JavaScript performance in depth will make you capable of tackling the complex and important tasks required to solve performance issues. In this book, you'll learn when and why to use an IDE over a common text editor. Packed with examples, you'll also learn how to create a build system to test and deploy your JavaScript project by optimizing the code. Next, you will move on to learn about DOM optimization, JavaScript promises, and web workers to better break up your large codebase. You will also learn about JavaScript performance on mobile platforms such as iOS and Android and how to deploy your JavaScript project to a device. Finally, by the end of the book, you'll be able to pinpoint JavaScript performance problems using appropriate tools, provide optimization techniques, and provide tools to develop fast applications with JavaScript.</p>
Table of Contents (17 chapters)
Mastering JavaScript High Performance
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
1
The Need for Speed
5
Operators, Loops, and Timers
Index

Summary


In this chapter, we learned how to create a simple JavaScript build system using Node.js with Gulp. We also explored other plugins and checked out Grunt Task Runner, which works similar to Gulp but contains many more plugins for your work.

Build systems help your performance greatly without much effort; keep in mind that gulp files can be reused for other projects, and so experiment and find out what works best for your projects.

In the next chapter, we will learn tips and tricks on how to use Chrome's Developer tools option to better optimize our web application code.