updates
This commit is contained in:
parent
d17ea51357
commit
0ebddb272d
2 changed files with 2 additions and 2 deletions
|
@ -64,7 +64,7 @@ async function main() {
|
|||
}
|
||||
if (counter % 1000 == 0) {
|
||||
let timeTook = Math.floor((Date.now() - startTime) / 100) / 10
|
||||
console.log(`Last string: ${str}, Last hash: ${h}, Collisions: ${collisions.length}, Time: ${timeTook}s`)
|
||||
console.log(`Last string: ${str}, Last hash: ${h}, Collisions: ${collisions.length}, Time: ${timeTook}s, Speed: ${Math.floor(counter/timeTook*10)/10} hash/s`)
|
||||
await sleep(1)
|
||||
}
|
||||
if (counter % 10000 == 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue