Measurements.elu
]) {
suite.add(
- `${name}|${workerChoiceStrategy}|${measurement}|${
+ `${name} with ${workerChoiceStrategy}, with ${measurement} and ${
enableTasksQueue ? 'with' : 'without'
} tasks queue`,
async () => {
}
} else {
suite.add(
- `${name}|${workerChoiceStrategy}|${
+ `${name} with ${workerChoiceStrategy} and ${
enableTasksQueue ? 'with' : 'without'
} tasks queue`,
async () => {
type: 'conjunction'
})
-export const executeAsyncFn = async fn => {
- try {
- await fn()
- } catch (e) {
- console.error(e)
- // eslint-disable-next-line n/no-process-exit
- process.exit(1)
- }
-}
-
export const generateRandomInteger = (
max = Number.MAX_SAFE_INTEGER,
min = 0