9817322c2870864d3b18537eae6952e50afe43e1
2 const { ClusterWorker
} = require('../../../lib/index')
3 const { jsonIntegerSerialization
} = require('../benchmark-utils')
5 function yourFunction (data
) {
6 jsonIntegerSerialization(1000)
7 // console.log('This is the main thread ' + isMaster)
11 module
.exports
= new ClusterWorker(yourFunction
)