Commit 7d66749e authored by Evan Lucas's avatar Evan Lucas
Browse files

test: speed up stringbytes-external test

test-stringbytes-external tends to take quite a while on slower
hardware. A lot of the time is taken by creating a new buffer that is
very large. The improvements come from reusing the same buffer.

PR-URL: https://github.com/nodejs/node/pull/3005


Reviewed-By: default avatarBrian White <mscdex@mscdex.net>
Reviewed-By: default avatarTrevor Norris <trev.norris@gmail.com>
Reviewed-By: default avatarRoman Reiss <me@silverwind.io>
parent 81e98e93
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment