node/benchmark/process
Brian White b7088a9355
process: improve memoryUsage() performance
Creating an object in JS and using a typed array to transfer values
from C++ to JS is faster than creating an object and setting
properties in C++.

The included benchmark shows ~34% increase in performance with this
change.

PR-URL: https://github.com/nodejs/node/pull/11497
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2017-03-08 17:11:23 -08:00
..
bench-env.js
bench-hrtime.js
memoryUsage.js process: improve memoryUsage() performance 2017-03-08 17:11:23 -08:00
next-tick-breadth-args.js
next-tick-breadth.js
next-tick-depth-args.js
next-tick-depth.js