diff options
| author | yo mama <pepper@scannerjammer.com> | 2015-04-04 01:00:59 -0700 |
|---|---|---|
| committer | yo mama <pepper@scannerjammer.com> | 2015-04-04 01:00:59 -0700 |
| commit | c7c22e3db1c826bcfb2bc66651ec480aae0d4ae0 (patch) | |
| tree | 8546df448afef40d3814d2581f4dacff7cebb87f /node_modules/webworker-threads/benchmark/b04_only_quick.js | |
Diffstat (limited to 'node_modules/webworker-threads/benchmark/b04_only_quick.js')
| -rw-r--r-- | node_modules/webworker-threads/benchmark/b04_only_quick.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/node_modules/webworker-threads/benchmark/b04_only_quick.js b/node_modules/webworker-threads/benchmark/b04_only_quick.js new file mode 100644 index 0000000..105ebb2 --- /dev/null +++ b/node_modules/webworker-threads/benchmark/b04_only_quick.js @@ -0,0 +1,14 @@ + + +function ƒ (req, res) { + res.end(" QUICK"); + process.stdout.write(" QUICK"); +} + + +var port= +process.argv[2] || 1234; +var http= require('http'); +http.globalAgent.maxSockets= 8192+2048; +http.createServer(ƒ).listen(port); +console.log('Fibonacci server (NO THREADS) running @port: '+ port); + |
