Use constants for magic numbers in perf tests

No match.