show perf dbtests results vs historical results

This commit is contained in:
dwight
2011-05-28 22:27:31 -04:00
parent 4632539c06
commit 626238c41a
2 changed files with 116 additions and 62 deletions

View File

@@ -180,6 +180,8 @@ namespace mongo {
}
};
unsigned perfHist = 1;
int Suite::run( int argc , char** argv , string default_dbpath ) {
unsigned long long seed = time( 0 );
string dbpathSpec;
@@ -202,6 +204,7 @@ namespace mongo {
("dur", "enable journaling")
("nodur", "disable journaling (currently the default)")
("seed", po::value<unsigned long long>(&seed), "random number seed")
("perfHist", po::value<unsigned>(&perfHist), "number of back runs of perf stats to display")
;
hidden_options.add_options()