Skip to content

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

This is sort of the prep for an up and coming PR I'm writing, but I just couldn't work with the code as it was.

Merge request reports

Loading