From the ecosystem

How to test a code performance in Node.js?

This blog post describes how to test a code performance in Node.js platform.

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

Written byPeter Širka
3789 views
Back to top