add script for measuring performance
Merge pull request #534 from ifilippov/perf

add script for measuring performance