summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRuben Bridgewater <ruben@bridgewater.de>2019-11-30 10:56:11 +0100
committerRuben Bridgewater <ruben@bridgewater.de>2019-12-07 00:38:27 +0100
commitbdb1083ef54cf99c959c554b741e62943b56e2af (patch)
tree7f0f8c4317bfaaed974b4e5ffefa56acfcd94a20 /test
parent832290a0d425aa027c279a4a96a70550a2fdfff2 (diff)
downloadandroid-node-v8-bdb1083ef54cf99c959c554b741e62943b56e2af.tar.gz
android-node-v8-bdb1083ef54cf99c959c554b741e62943b56e2af.tar.bz2
android-node-v8-bdb1083ef54cf99c959c554b741e62943b56e2af.zip
benchmark: add more util inspect and format benchmarks
This adds a couple of benchmarks to check different options and code paths. PR-URL: https://github.com/nodejs/node/pull/30767 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Denys Otrishko <shishugi@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'test')
-rw-r--r--test/benchmark/test-benchmark-util.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/benchmark/test-benchmark-util.js b/test/benchmark/test-benchmark-util.js
index 97b02bbdee..b66d4fdb9b 100644
--- a/test/benchmark/test-benchmark-util.js
+++ b/test/benchmark/test-benchmark-util.js
@@ -14,5 +14,7 @@ runBenchmark('util',
'size=1',
'type=',
'len=1',
- 'version=native'],
+ 'version=native',
+ 'isProxy=1',
+ 'showProxy=1'],
{ NODEJS_BENCHMARK_ZERO_ALLOWED: 1 });