Skip to content

Instantly share code, notes, and snippets.

View voodooattack's full-sized avatar

Abdullah A. Hassan voodooattack

View GitHub Profile
var startTime = Date.now()
var fs = require('fs')
var Iconv = require('iconv').Iconv
var cluster = require('cluster')
var workers;
if (cluster.isMaster) workers = [1, 2, 3, 4].map(_ => cluster.fork())
if (!cluster.isMaster)
{