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:
parent
3f2c6d4011
commit
6dfed5cf8c
@ -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 )
|
||||
|
Loading…
Reference in New Issue
Block a user