add method to run cmp and timing in one run