From 2405a3f08dffa393627c4abc1ef7d33bf3cc3ef0 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Sun, 3 Sep 2017 14:13:55 -0700 Subject: [PATCH] test: add test-benchmark-assert Add minimal test for `assert` benchmarks. --- test/parallel/test-benchmark-assert.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 test/parallel/test-benchmark-assert.js diff --git a/test/parallel/test-benchmark-assert.js b/test/parallel/test-benchmark-assert.js new file mode 100644 index 00000000000000..a83bbf8ad8cf41 --- /dev/null +++ b/test/parallel/test-benchmark-assert.js @@ -0,0 +1,12 @@ +'use strict'; + +require('../common'); + +// Minimal test for assert benchmarks. This makes sure the benchmarks aren't +// completely broken but nothing more than that. + +const runBenchmark = require('../common/benchmark'); + +runBenchmark( + 'assert', ['len=1', 'method=', 'n=1', 'prim=null', 'size=1', 'type=Int8Array'] +);