Remove extra comment character
Convert loop sizes to top-level variable
Refactor benchmarking scripts into common source