0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00

do more work between time checks

This commit is contained in:
Mathias Stearn 2010-12-21 15:37:37 -05:00
parent 3f2c6d4011
commit 6dfed5cf8c

View File

@ -118,7 +118,7 @@ namespace PerfTests {
unsigned long long n = 0;
while( 1 ) {
unsigned i;
for( i = 0; i < 10; i++ )
for( i = 0; i < 1000; i++ )
timed();
n += i;
if( t.millis() > 5000 )