adjust matchTemplate in performance sample, as current version is too slow when template size isn't small