summaryrefslogtreecommitdiff
path: root/benchmark
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2018-01-02 16:10:57 -0800
committerRuben Bridgewater <ruben@bridgewater.de>2018-01-05 12:40:26 +0100
commit9fea7eae9a48c6c2e8fb75204a4e5c60e700a3e2 (patch)
treead364509fe82fb00bab194b68ac7f54d2c58a102 /benchmark
parent94d64877ff2b9d5fcfb40d24358337a95c333f66 (diff)
downloadandroid-node-v8-9fea7eae9a48c6c2e8fb75204a4e5c60e700a3e2.tar.gz
android-node-v8-9fea7eae9a48c6c2e8fb75204a4e5c60e700a3e2.tar.bz2
android-node-v8-9fea7eae9a48c6c2e8fb75204a4e5c60e700a3e2.zip
buffer: check byteLength in readUInt(B|L)E
PR-URL: https://github.com/nodejs/node/pull/11146 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Michaƫl Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'benchmark')
-rw-r--r--benchmark/buffers/buffer-read-with-byteLength.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/benchmark/buffers/buffer-read-with-byteLength.js b/benchmark/buffers/buffer-read-with-byteLength.js
index 013947da9d..2a659c1bec 100644
--- a/benchmark/buffers/buffer-read-with-byteLength.js
+++ b/benchmark/buffers/buffer-read-with-byteLength.js
@@ -2,8 +2,10 @@
const common = require('../common.js');
const types = [
- 'IntLE',
'IntBE',
+ 'IntLE',
+ 'UIntBE',
+ 'UIntLE'
];
const bench = common.createBenchmark(main, {