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

Chapter 4. CPU Profiling

Profiling is boring, but it's a good form of software analysis where you measure resource usage. This usage is measured over time and sometimes under specific workloads. Resources can mean anything the application is using, be it memory, disk, network, or processor. More specifically, CPU profiling allows you to analyze how and how much your functions use the processor. You can also analyze the opposite—the non-usage of the processor, or the idle time.

Node.js is not primarily meant for continuous CPU-intensive tasks, and sometimes, for profiling, it is important to identify the methods of the intensive task that are holding to the processor and keeping other tasks from performing better. You may find huge call stacks continuously ...

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