Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/path/format-posix.js')
-rw-r--r--benchmark/path/format-posix.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/benchmark/path/format-posix.js b/benchmark/path/format-posix.js
index b30b58be411..ee78a6d5f30 100644
--- a/benchmark/path/format-posix.js
+++ b/benchmark/path/format-posix.js
@@ -1,7 +1,6 @@
'use strict';
var common = require('../common.js');
var path = require('path');
-var v8 = require('v8');
var bench = common.createBenchmark(main, {
props: [
@@ -22,12 +21,6 @@ function main(conf) {
name: props[4] || '',
};
- // Force optimization before starting the benchmark
- p.format(obj);
- v8.setFlagsFromString('--allow_natives_syntax');
- eval('%OptimizeFunctionOnNextCall(p.format)');
- p.format(obj);
-
bench.start();
for (var i = 0; i < n; i++) {
p.format(obj);