diff options
author | Ruben Bridgewater <ruben@bridgewater.de> | 2019-11-30 10:56:11 +0100 |
---|---|---|
committer | Michaƫl Zasso <targos@protonmail.com> | 2019-12-09 10:23:11 +0100 |
commit | ad4d52d1b51038aacc7fc84dbf06a477b2c65191 (patch) | |
tree | 1752056306ab7e37e98cffff62328de3c172080e /test/benchmark | |
parent | 608d72083497b0e3988020214a3503ff9d8d4f38 (diff) | |
download | node-new-ad4d52d1b51038aacc7fc84dbf06a477b2c65191.tar.gz |
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/benchmark')
-rw-r--r-- | test/benchmark/test-benchmark-util.js | 4 |
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 }); |