mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 12:21:36 +03:00
0a68ea88fb
- one of the reasons our tests are so slow is because we're running 10 rounds of bcrypt hashing on shared hardware, nearly 300 times during the database tests - we don't particularly care about password hash strength during tests so this commit reduces the number of rounds to 1 if we're running in a test environment - this drops the time to produce an individual hash from ~140ms to ~3ms, saving us a lot of time overall |
||
---|---|---|
.. | ||
identifier.js | ||
password.js | ||
secret.js | ||
string.js | ||
tokens.js | ||
url.js |