Skip to content
Browse files

test: fix test-benchmark-buffer

Using `len=2` in test-benchmark-buffer was resulting in a `RangeError`
in buffer-base64-encode.js. Change to `len=256` which works in all
buffer benchmarks.

PR-URL: #27260
Reviewed-By: Anna Henningsen <>
Reviewed-By: James M Snell <>
Reviewed-By: Ruben Bridgewater <>
Reviewed-By: Luigi Pinca <>
Reviewed-By: Refael Ackermann <>
  • Loading branch information...
Trott committed Apr 16, 2019
1 parent 3973354 commit d5bb500d0f21997c1b7a658c06f7f437be29fa78
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/benchmark/test-benchmark-buffer.js
@@ -13,7 +13,7 @@ runBenchmark('buffers',

0 comments on commit d5bb500

Please sign in to comment.
You can’t perform that action at this time.