fix of perf.py
Merge pull request #665 from ifilippov/master

fix of perf.py
Merge remote-tracking branch 'upstream/master' into sm35