update perf

single test script for both tests, use argparse, default values, etc.
Merge pull request #412 from minrk/perf

update perf

single test script for both tests, use argparse, default values, etc.