Total.js platform
Total.js platform

JavaScript platform for everyone

How to test a code performance in Node.js?

How to test a code performance in Node.js?

  • install our Node.js module Performance Meter $ npm install performancemeter
  • and create custom tests

Running tests

  • save each test into separate file
  • run $ node testname.js

Caching objects

Caching objects

Caching object with assignment

Caching object with assignment


Delete vs Undefined

Delete vs Undefined

Caching DateTime

Caching Datetime