0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-30 07:27:22 +01:00
nodejs/benchmark/util
Ruben Bridgewater 95bbb68175
util: improve util.inspect performance
* improve util.inspect performance
  This is a huge performance improvement in case of sparse arrays
  when using util.inspect as the hole will simple be skipped.

* use faster visibleKeys property lookup

* add inspect-array benchmark

PR-URL: https://github.com/nodejs/node/pull/14492
Fixes: https://github.com/nodejs/node/issues/14487
Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
2017-08-13 13:52:33 -04:00
..
format.js lib,src: fix consistent spacing inside braces 2017-07-21 15:13:47 -04:00
inspect-array.js util: improve util.inspect performance 2017-08-13 13:52:33 -04:00
inspect-proxy.js lib,src: fix consistent spacing inside braces 2017-07-21 15:13:47 -04:00
inspect.js lib,src: fix consistent spacing inside braces 2017-07-21 15:13:47 -04:00
normalize-encoding.js util: improve readability of normalizeEncoding 2017-01-15 20:30:51 +08:00