Browse Source

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>
v1.8.0-commit
Brendan Ashworth 10 years ago
committed by Jeremiah Senkpiel
parent
commit
083c421b5c
  1. 2
      benchmark/http/client-request-body.js
  2. 2
      benchmark/http/end-vs-write-end.js

2
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) {

2
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) {

Loading…
Cancel
Save