commit | 4bb529d972afaa02d57a2ca29db33ac92f69b81d | [log] [tgz] |
---|---|---|
author | Rich Trott <[email protected]> | Sat Feb 20 01:03:16 2016 |
committer | Rich Trott <[email protected]> | Mon Feb 22 19:09:26 2016 |
tree | 362545fa9b9565b72d128b5ed0c9fd86c326633e | |
parent | 65cd2a0f9689b1213bb13a8d48f38d8b9e4ff09f [diff] [blame] |
benchmark: use strict mode Apply strict mode to benchmark code. PR-URL: https://github.com/nodejs/node/pull/5336 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Jeremiah Senkpiel <[email protected]> Reviewed-By: Roman Reiss <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]>
diff --git a/benchmark/net/tcp-raw-c2s.js b/benchmark/net/tcp-raw-c2s.js index 0039313..25efc78 100644 --- a/benchmark/net/tcp-raw-c2s.js +++ b/benchmark/net/tcp-raw-c2s.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');