Commit 5d0f37f5 authored by Neil Gershenfeld's avatar Neil Gershenfeld
Browse files

wip

parent 7e3d10f5
Pipeline #2854 passed with stage
in 1 second
...@@ -11,7 +11,7 @@ else ...@@ -11,7 +11,7 @@ else
child() child()
function master() { function master() {
var processes = parseInt(process.argv[2]) var processes = parseInt(process.argv[2])
var points = 1e10 var points = 1e9
var pi = 0 var pi = 0
var results = 0 var results = 0
var tstart = Date.now()/1000 var tstart = Date.now()/1000
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
// pi calculation benchmark // pi calculation benchmark
// pi = 3.14159265358979323846 // pi = 3.14159265358979323846
// //
const points = 1e8 const points = 1e9
const { fork } = require('child_process') const { fork } = require('child_process')
var processes = parseInt(process.argv[2]) var processes = parseInt(process.argv[2])
var pi = 0 var pi = 0
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment