From 083c421b5ca08576897b5da396085a462010780e Mon Sep 17 00:00:00 2001 From: Brendan Ashworth Date: Wed, 28 Jan 2015 22:14:57 -0800 Subject: [PATCH] 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 --- benchmark/http/client-request-body.js | 2 +- benchmark/http/end-vs-write-end.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/benchmark/http/client-request-body.js b/benchmark/http/client-request-body.js index 7a3468a67058e3..1c27dea2a2066e 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 973f23afa9646d..c17e2ffb45fa02 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) {