repositories
/
poolifier.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
71e4838818664642bc88204af38d841859ad35e5
[poolifier.git]
/
benchmarks
/
versus-external-pools
/
workers
/
threadjs
/
function-to-bench-worker.js
1
'use strict'
2
const
{
expose
} =
require
(
'threads/worker'
)
3
const
functionToBench
=
require
(
'../../functions/function-to-bench'
)
4
5
expose
({
6
exposedFunction
(
data
) {
7
return
functionToBench
(
data
)
8
}
9
})