repositories
/
poolifier.git
/ blame
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(incremental) |
history
|
HEAD
refactor: convert benchmarks code to ESM
[poolifier.git]
/
benchmarks
/
versus-external-pools
/
workers
/
threadjs
/
function-to-bench-worker.mjs
Commit
Line
Data
8fca9288
JB
1
import { expose } from 'threads/worker'
2
import functionToBench from '../../functions/function-to-bench.mjs'
3
4
expose({
5
exposedFunction (data) {
6
return functionToBench(data)
7
}
8
})