From: Brendan Ashworth Date: Thu, 29 Jan 2015 06:14:57 +0000 (-0800) Subject: benchmark: remove extra spacing in http options X-Git-Tag: v1.1.0~22 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=083c421b5ca08576897b5da396085a462010780e;p=platform%2Fupstream%2Fnodejs.git benchmark: remove extra spacing in http options This commit removes the benchmark spacing modification in `client-request-body.js` and `end-vs-write-end.js` which adds two spaces to the end of some variables to make sure the lines line up. The reason behind this is that its totally pointless (the lines don't actually line up with it) and it disallows you to parse the output with a tool like awk, or at least makes it a lot harder. PR-URL: https://github.com/iojs/io.js/pull/650 Reviewed-By: Colin Ihrig Reviewed-By: Ben Noordhuis Reviewed-By: Jeremiah Senkpiel --- diff --git a/benchmark/http/client-request-body.js b/benchmark/http/client-request-body.js index 7a3468a..1c27dea 100644 --- a/benchmark/http/client-request-body.js +++ b/benchmark/http/client-request-body.js @@ -7,7 +7,7 @@ var bench = common.createBenchmark(main, { dur: [5], type: ['asc', 'utf', 'buf'], bytes: [32, 256, 1024], - method: ['write', 'end '] // two spaces added to line up each row + method: ['write', 'end'] }); function main(conf) { diff --git a/benchmark/http/end-vs-write-end.js b/benchmark/http/end-vs-write-end.js index 973f23a..c17e2ff 100644 --- a/benchmark/http/end-vs-write-end.js +++ b/benchmark/http/end-vs-write-end.js @@ -14,7 +14,7 @@ var bench = common.createBenchmark(main, { type: ['asc', 'utf', 'buf'], kb: [64, 128, 256, 1024], c: [100], - method: ['write', 'end '] // two spaces added to line up each row + method: ['write', 'end'] }); function main(conf) {