0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-30 00:56:44 +01:00

test faster/less

This commit is contained in:
dwight 2011-01-08 17:37:28 -05:00
parent 62425650ef
commit 25f0610257

View File

@ -60,15 +60,15 @@ namespace ThreadedTests {
class MongoMutexTest : public ThreadedTest<135> {
#if defined(_DEBUG)
enum { N = 10000 };
enum { N = 5000 };
#else
enum { N = 80000 };
enum { N = 40000 };
#endif
MongoMutex *mm;
public:
void run() {
Timer t;
cout << "MongoMutexTest" << endl;
cout << "MongoMutexTest N:" << N << endl;
ThreadedTest<135>::run();
cout << "MongoMutexTest " << t.millis() << "ms" << endl;
}