repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refactor: check for worker file existence first
[poolifier.git]
/
benchmarks
/
benchmarks-utils.mjs
diff --git
a/benchmarks/benchmarks-utils.mjs
b/benchmarks/benchmarks-utils.mjs
index b3f326b78b6cfc3b24435ce2e3efd83fdf7bac97..79971825e20e9e66c394b7b229eb6b4b5d852eaf 100644
(file)
--- a/
benchmarks/benchmarks-utils.mjs
+++ b/
benchmarks/benchmarks-utils.mjs
@@
-173,16
+173,6
@@
export const LIST_FORMATTER = new Intl.ListFormat('en-US', {
type: 'conjunction'
})
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
export const generateRandomInteger = (
max = Number.MAX_SAFE_INTEGER,
min = 0