added performance validation check
Merge pull request #3342 from alalek:perf_stability_check