repositories
/
poolifier.git
/ blame_incremental
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(non-incremental) |
history
|
HEAD
Fix busy event emission on fixed pool: (#332)
[poolifier.git]
/
benchmarks
/
versus-external-pools
/
workers
/
threadjs
/
function-to-bench-worker.js
This page requires JavaScript to run. Use
this page
instead.
... / ...
Commit
Line
Data
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
})