summaryrefslogtreecommitdiff
path: root/test/benchmark/test-benchmark-assert.js
blob: 8a8ba0244489e5ae18bbb70e2000104066718a4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
'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',
  [
    'strict=1',
    'len=1',
    'method=',
    'n=1',
    'primitive=null',
    'size=1',
    'type=Int8Array'
  ]
);