Skip to Content
Node.js High Performance
book

Node.js High Performance

by Diogo Resende
August 2015
Intermediate to advanced
136 pages
3h 8m
English
Packt Publishing
Content preview from Node.js High Performance

Optimizations

Using patterns improves your application, as you use well-proven and well-tested concepts that help developers to better understand and eventually improve your code. But improving your code doesn't end here. There is another type of pattern that varies from language to language, and we call it optimization.

An optimization is a pattern that is not specific to any problem but specific to a code structure. The idea is to change the code to be more efficient or to use less memory or other types of resources while doing the same thing. The goal of an optimization is not to get simpler code or to make it more readable. It can be bigger but still readable. Don't optimize for the sake of optimizing and reducing your code readability.

As Node.js ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Node.js in Practice

Node.js in Practice

Marc Harter, Alex Young
Node.js: Related Tools & Skills

Node.js: Related Tools & Skills

Craig Buckler, Jani Hartikainen, M. David Green, Olayinka Omole, Ahmed Bouchefra, Mark Brown, Paul Sauve, Manjunath M

Publisher Resources

ISBN: 9781785286148Supplemental Content