Skip to content

Commit 99f65dd

Browse files
SattvikSattvik
Sattvik
authored and
Sattvik
committed
fix: stress tests
1 parent a080b90 commit 99f65dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stress-tests/src/oneMillionUsers/importMillionUsers.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export const importMillionUsers = async (deployment: any) => {
5757
}
5858
});
5959
const count: any = await response.json();
60-
console.log(` Progress: Time=${formatTime(Date.now() - st)}, UsersLeft=${count.count}, Rate=${((lastCount - count.count) / (Date.now() - lastTime)).toFixed(1)}`);
60+
console.log(` Progress: Time=${formatTime(Date.now() - st)}, UsersLeft=${count.count}, Rate=${((lastCount - count.count) * 1000 / (Date.now() - lastTime)).toFixed(1)}`);
6161

6262
if (count.count === 0) {
6363
break;

0 commit comments

Comments
 (0)