You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

13 lines
327 B

const AsyncSimpleBench = require('./async')
const SimpleBench = require('./simple')
module.exports = (suite, scope = 'simple') => {
switch (scope) {
case 'async':
return AsyncSimpleBench(suite)
case 'simple':
return SimpleBench(suite)
default:
return SimpleBench(AsyncSimpleBench(suite))
}
}