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:
parent
62425650ef
commit
25f0610257
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user