Skip to content

Commit 0238962

Browse files
committed
Fix benchmark minimum memory cost
1 parent 61cf8fd commit 0238962

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

benchmark/common.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ class Benchmark {
8181
if (typeof value === 'number') {
8282
if (key === 'dur' || key === 'duration') {
8383
value = 0.05;
84-
} else if (key === 'memcost') {
84+
} else if (key === 'memory') {
8585
// minimum Argon2 memcost with 1 lane is 8
8686
value = 8;
8787
} else if (value > 1) {

0 commit comments

Comments
 (0)