repositories
/
poolifier.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
chore: v2.4.0
[poolifier.git]
/
benchmarks
/
versus-external-pools
/
workers
/
poolifier
/
function-to-bench-worker.js
1
'use strict'
2
const
{
ThreadWorker
} =
require
(
'poolifier'
)
3
const
functionToBench
=
require
(
'../../functions/function-to-bench'
)
4
module
.
exports
=
new
ThreadWorker
(
functionToBench
)