node/benchmark/buffers
Ruben Bridgewater 341770fedf
lib: improve normalize encoding performance
This focuses on the common case by making sure they are prioritized.
It also changes some typeof checks to test for undefined since
that is faster and it adds a benchmark.

PR-URL: https://github.com/nodejs/node/pull/18790
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
2018-03-02 02:09:25 +00:00
..
buffer-base64-decode-wrapped.js lint: move eslint to new plugin system 2018-02-20 13:13:22 -06:00
buffer-base64-decode.js lint: move eslint to new plugin system 2018-02-20 13:13:22 -06:00
buffer-base64-encode.js benchmark: (buffers) use destructuring 2018-01-23 01:29:31 +01:00
buffer-bytelength.js benchmark: (buffer) refactor 2018-02-01 10:48:59 +01:00
buffer-compare-instance-method.js benchmark: (buffers) use destructuring 2018-01-23 01:29:31 +01:00
buffer-compare-offset.js benchmark: (buffer) refactor 2018-02-01 10:48:59 +01:00
buffer-compare.js benchmark: (buffers) use destructuring 2018-01-23 01:29:31 +01:00
buffer-concat.js benchmark: (buffers) use destructuring 2018-01-23 01:29:31 +01:00
buffer-creation.js benchmark: (buffer) refactor 2018-02-01 10:48:59 +01:00
buffer-fill.js benchmark: add buffer fill benchmark 2018-03-02 02:09:24 +00:00
buffer-from.js benchmark: (buffers) use destructuring 2018-01-23 01:29:31 +01:00
buffer-hex.js benchmark: (buffer) refactor 2018-02-01 10:48:59 +01:00
buffer-indexof-number.js benchmark: (buffers) use destructuring 2018-01-23 01:29:31 +01:00
buffer-indexof.js benchmark: (buffers) use destructuring 2018-01-23 01:29:31 +01:00
buffer-iterate.js benchmark: (buffer) refactor 2018-02-01 10:48:59 +01:00
buffer-normalize-encoding.js lib: improve normalize encoding performance 2018-03-02 02:09:25 +00:00
buffer-read-float.js benchmark: (buffer) refactor 2018-02-01 10:48:59 +01:00
buffer-read-with-byteLength.js benchmark: (buffer) refactor 2018-02-01 10:48:59 +01:00
buffer-read.js benchmark: (buffer) refactor 2018-02-01 10:48:59 +01:00
buffer-slice.js benchmark: (buffers) use destructuring 2018-01-23 01:29:31 +01:00
buffer-swap.js benchmark: (buffers) use destructuring 2018-01-23 01:29:31 +01:00
buffer-tojson.js benchmark: (buffers) use destructuring 2018-01-23 01:29:31 +01:00
buffer-tostring.js benchmark: (buffers) use destructuring 2018-01-23 01:29:31 +01:00
buffer-write-string.js benchmark: (buffers) use destructuring 2018-01-23 01:29:31 +01:00
buffer-write.js benchmark: (buffer) refactor 2018-02-01 10:48:59 +01:00
buffer-zero.js benchmark: rename file 2018-03-02 02:09:25 +00:00
dataview-set.js benchmark: (buffers) use destructuring 2018-01-23 01:29:31 +01:00