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:
authorRich Trott <rtrott@gmail.com>2016-02-20 04:03:16 +0300
committerRich Trott <rtrott@gmail.com>2016-02-22 22:09:26 +0300
commit4bb529d972afaa02d57a2ca29db33ac92f69b81d (patch)
tree362545fa9b9565b72d128b5ed0c9fd86c326633e /benchmark/net/tcp-raw-pipe.js
parent65cd2a0f9689b1213bb13a8d48f38d8b9e4ff09f (diff)
benchmark: use strict mode
Apply strict mode to benchmark code. PR-URL: https://github.com/nodejs/node/pull/5336 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'benchmark/net/tcp-raw-pipe.js')
-rw-r--r--benchmark/net/tcp-raw-pipe.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/benchmark/net/tcp-raw-pipe.js b/benchmark/net/tcp-raw-pipe.js
index 1504d11db5f..e22437f422e 100644
--- a/benchmark/net/tcp-raw-pipe.js
+++ b/benchmark/net/tcp-raw-pipe.js
@@ -1,5 +1,6 @@
// In this benchmark, we connect a client to the server, and write
// as many bytes as we can in the specified time (default = 10s)
+'use strict';
var common = require('../common.js');
var util = require('util');