go-gitea / gitea

Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD
https://gitea.com
MIT License
44.88k stars 5.48k forks source link

`modules/auth/password/hash` tests are slow #24539

Open silverwind opened 1 year ago

silverwind commented 1 year ago

From https://github.com/go-gitea/gitea/actions/runs/4888003655/jobs/8725237392:

✓  modules/auth/password/hash (1m51.007s)

Almost two minutes for this seems far too slow.

lunny commented 1 year ago

scrypt spent 10x times than other algorithm.