benchmark: clean up common.js
authorBrendan Ashworth <brendan.ashworth@me.com>
Fri, 30 Jan 2015 02:15:57 +0000 (18:15 -0800)
committerStephen Belanger <sbelanger@appneta.com>
Mon, 2 Feb 2015 22:43:16 +0000 (14:43 -0800)
commit89dd8e062f462106a6f7d3e92e9d18906445f851
tree87efeb98e8416b5aa04f46005458465d2ccd0a18
parent6561274d2377d9fd9c55fa3ce2eb2e53c14d898e
benchmark: clean up common.js

This commit cleans up `benchmark/common.js` with a few generic changes
such as the following:

- declare all `require()`'d libraries at the top instead of in the
  middle
- add some empty whitespace where it helps readability
- changes ambiguous variable names
- standardizes most if / else blocks
- missing semicolons

PR-URL: https://github.com/iojs/io.js/pull/662
Reviewed-By: Nicu Micleușanu <micnic90@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
benchmark/common.js