mirror of
https://github.com/nodejs/node.git
synced 2024-11-29 15:06:33 +01:00
Remove process.mixin dependencies from benchmark scripts
This commit is contained in:
parent
a38aa02f9f
commit
c488e5775a
@ -3,7 +3,8 @@ path = require("path");
|
||||
libDir = path.join(path.dirname(__filename), "../lib");
|
||||
require.paths.unshift(libDir);
|
||||
|
||||
process.mixin(require("sys"));
|
||||
var sys = (require("sys"));
|
||||
for (var i in sys) global[i] = sys[i];
|
||||
http = require("http");
|
||||
|
||||
fixed = ""
|
||||
|
@ -1,7 +1,8 @@
|
||||
var path = require("path");
|
||||
libDir = path.join(path.dirname(__filename), "../lib");
|
||||
require.paths.unshift(libDir);
|
||||
process.mixin(require("sys"));
|
||||
var sys = (require("sys"));
|
||||
for (var i in sys) global[i] = sys[i];
|
||||
function next (i) {
|
||||
if (i <= 0) return;
|
||||
|
||||
|
@ -1,7 +1,8 @@
|
||||
var path = require("path");
|
||||
libDir = path.join(path.dirname(__filename), "../lib");
|
||||
require.paths.unshift(libDir);
|
||||
process.mixin(require("sys"));
|
||||
var sys = (require("sys"));
|
||||
for (var i in sys) global[i] = sys[i];
|
||||
var benchmarks = [ "static_http_server.js"
|
||||
, "timers.js"
|
||||
, "process_loop.js"
|
||||
|
Loading…
Reference in New Issue
Block a user