node/benchmark/buffers
Rich Trott 88464ac6ac
benchmark: reformat code for clarity
Some of the benchmark code can be a little dense. Not *very* hard to
read but perhaps harder than it needs to be.

These changes (many of them whitespace-only) hopefully improve
readability.

There are also a few cases of `assert.equal()` that are changed to
`assert.strictEqual()`.

PR-URL: https://github.com/nodejs/node/pull/9790
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2016-12-05 03:22:16 +01:00
..
buffer-base64-decode.js benchmark: reformat code for clarity 2016-12-05 03:22:16 +01:00
buffer-base64-encode.js
buffer-bytelength.js benchmark: favor === over == 2016-08-09 14:40:01 -07:00
buffer-compare-instance-method.js
buffer-compare-offset.js buffer: add Buffer.prototype.compare by offset 2016-04-08 20:16:46 -07:00
buffer-compare.js
buffer-concat.js benchmark: add benchmark for Buffer.concat 2016-06-05 13:56:34 +02:00
buffer-creation.js buffer: add Buffer.allocUnsafeSlow(size) 2016-04-15 10:36:01 -07:00
buffer-from.js benchmark: add benchmarks for Buffer.from() 2016-09-29 11:14:59 -07:00
buffer-hex.js buffer: optimize hex_decode 2016-07-17 18:21:33 +02:00
buffer-indexof.js benchmark: reformat code for clarity 2016-12-05 03:22:16 +01:00
buffer-iterate.js
buffer-read.js benchmark: reformat code for clarity 2016-12-05 03:22:16 +01:00
buffer-slice.js
buffer-swap.js test,lib,benchmark: match function names 2016-10-20 09:32:45 -07:00
buffer-tostring.js
buffer-write.js benchmark: reformat code for clarity 2016-12-05 03:22:16 +01:00
buffer_zero.js
dataview-set.js benchmark: reformat code for clarity 2016-12-05 03:22:16 +01:00