diff options
Diffstat (limited to 'benchmark')
-rw-r--r-- | benchmark/http_simple.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/benchmark/http_simple.js b/benchmark/http_simple.js index 28c215aaf5e..e1eb6b57799 100644 --- a/benchmark/http_simple.js +++ b/benchmark/http_simple.js @@ -1,7 +1,8 @@ path = require("path"); var puts = require("sys").puts; -var old = false; + +var old = (process.argv[2] == 'old'); http = require(old ? "http_old" : 'http'); if (old) puts('old version'); |