(QENG-807) add --collect-perf-data option, rspec tests, and yard docs