Skip to content

Commit

Permalink
test: add test-benchmark-assert
Browse files Browse the repository at this point in the history
Add minimal test for `assert` benchmarks.
  • Loading branch information
Trott committed Sep 13, 2017
1 parent 9e3098c commit 2405a3f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions test/parallel/test-benchmark-assert.js
Original file line number Diff line number Diff line change
@@ -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']
);

0 comments on commit 2405a3f

Please sign in to comment.