You can profile your app with node-tick.
- Install
node-tick
bysudo npm -g install tick
- Run your app with enabled profile
node --prof ./app.js
- After some time with CPU 100% usage stop your app
- You can see v8.log in your app directory, now you can read it with node-tick-processor
- Run
node-tick-processor
and explain the results - Load v8.log into chrome://tracing to analyze as a tree.
node js cpu 100%
Related Contents:
- How to programmatically detect debug mode in nodejs?
- How to see which plugins are making Vim slow?
- Proper way to set response status and JSON content in a REST API made with nodejs and express
- HTTP GET Request in Node.js Express
- How to access a preexisting collection with Mongoose?
- Creating a expressjs middleware that accepts parameters
- Using app.configure in express
- Node.js – logging / Use morgan and winston
- Node/Express file upload
- Difference Between app.use() and router.use() in Express
- Using PassportJS, how does one pass additional form fields to the local authentication strategy?
- Node.js + Express: Routes vs controller
- Why should I use Restify?
- Uploading images using Node.js, Express, and Mongoose
- Check if token expired using this JWT library
- Node.js get image from web and encode with base64
- Using socket.io in Express 4 and express-generator’s /bin/www
- Drop into interpreter during arbitrary scala code location
- Express.js routing: optional splat param?
- How to debug web sites on mobile devices?
- Authorization approaches and design patterns for Node.js applications [closed]
- Firebug: How to inspect elements changing with mouse movements?
- Debugging monit
- How to check in node if module exists and if exists to load?
- Meteor: Debug on server side
- How to get rid of Connect 3.0 deprecation alert?
- Express Passport (node.js) error handling
- how to fix [Object: null prototype] { title: ‘product’ }
- How can I use webpack with express?
- How to get the stacktrace of a panic (and store as a variable)
- How to debug a socket hang up error in NodeJS?
- Add intentional latency in express
- Node.js with Express – throw Error vs next(error)
- Desktop applications only support the oauth_callback value ‘oob’/oauth/request_token
- Handlebars: Access has been denied to resolve the property “from” because it is not an “own property” of its parent
- Difference between res.setHeader and res.header in node.js
- JavaScript wait for asynchronous function in if statement [duplicate]
- node.js server and HTTP/2 (2.0) with express.js
- Sequelize Where if not null
- How to use AngularJS routes with Express (Node.js) when a new page is requested?
- How to debug a nodemon project in VSCode
- Trigger xDebug in PhpStorm when calling using CURL
- Debugging typescript with source maps and webpack
- How to force parse request body as plain text instead of json in Express?
- Pass variables to JavaScript in ExpressJS
- How do I enable remote celery debugging in PyCharm?
- Tips on solving ‘DevTools was disconnected from the page’ and Electron Helper dies
- What flags do you set for your GFORTRAN debugger/compiler to catch faulty code?
- Render raw html in response with Express
- Modifying Express.js Request Object