summaryrefslogtreecommitdiff
path: root/benchmark/http
diff options
context:
space:
mode:
authorBrendan Ashworth <brendan.ashworth@me.com>2015-01-28 22:14:57 -0800
committerJeremiah Senkpiel <fishrock123@rocketmail.com>2015-01-30 16:09:10 -0500
commit083c421b5ca08576897b5da396085a462010780e (patch)
tree47a851f6f8ea01cd7b1f38f10a5ece0eba6ff8b3 /benchmark/http
parente17e6fb2faa04193eddf8062fbd49f1612b4dbff (diff)
downloadandroid-node-v8-083c421b5ca08576897b5da396085a462010780e.tar.gz
android-node-v8-083c421b5ca08576897b5da396085a462010780e.tar.bz2
android-node-v8-083c421b5ca08576897b5da396085a462010780e.zip
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 <cjihrig@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Diffstat (limited to 'benchmark/http')
-rw-r--r--benchmark/http/client-request-body.js2
-rw-r--r--benchmark/http/end-vs-write-end.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/benchmark/http/client-request-body.js b/benchmark/http/client-request-body.js
index 7a3468a670..1c27dea2a2 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 973f23afa9..c17e2ffb45 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) {