choose how many times phantomjs should collect timing metrics, closes #465
restructure
formatting