add script for measuring performance

Adding script perf.py, which measures performance. Script runs tests from list of tests in file perf.ini and gather their results.

Also correction of some tests' outputs to make all of them the same.