The test is supposed to measure the performance of the base64 encoder so move the Buffer#write() calls out of the benchmark section. The overhead of the calls isn't terrible (about 1-3%) but having unrelated activity in a micro-benchmark is never a good idea. Signed-off-by: Trevor Norris <trev.norris@gmail.com> |
||
|---|---|---|
| .. | ||
| buffer-base64-encode.js | ||
| buffer-compare.js | ||
| buffer-creation.js | ||
| buffer-read.js | ||
| buffer-slice.js | ||
| buffer-write.js | ||
| dataview-set.js | ||