UNPKG

285 BJavaScriptView Raw
1/* global bench */
2
3import expand from '..'
4import fs from 'fs'
5
6const resfile = new URL('../test/cases.txt', import.meta.url)
7const cases = fs.readFileSync(resfile, 'utf8').split('\n')
8
9bench('Average', function () {
10 cases.forEach(function (testcase) {
11 expand(testcase)
12 })
13})