-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[Testing] Document improving test speed by reducing password encoder "work factor" #13599
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
934d416
to
1dddc33
Compare
Thanks for this contribution. Question to @symfony/team-symfony-docs I'm 99.99% sure that we have or had something like this in the docs. Maybe in the "Best Practices"? But I can't find it. Can you remember? Did we remove this from docs for some reason? Thanks. |
I thought we had something about the plaintext password encoder, but I couldn't find anything. What do you think if we change the example here to make use of the plaintext encoder? |
A few arguments against plaintext:
That all being said, the plaintext config would be simpler. I'm fine switching if that's what you think would be best. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is great.
I also think we documented something like this already, but I think we must have lost it somewhere while moving things around (as I also can't find it anymore).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice, could you please add the comments to xml and php examples too? Thank you 👌🏻
1dddc33
to
6c3e356
Compare
Done. |
c6678b3
to
12ed6ad
Compare
12ed6ad
to
e28f9d6
Compare
Thanks a lot Kevin! This was finally merged in 4.4 and up. |
I also reduced my test suite run time by pre-encoding passwords for my test fixtures. I'm not sure if we should document this.