Permutation timing test