mikker / passwordless

🗝 Authentication for your Rails app without the icky-ness of passwords
MIT License
1.25k stars 86 forks source link

Skip bcrypt in test env #190

Closed mikker closed 7 months ago

mikker commented 7 months ago

This could make everyone's test suites a bunch faster

mikker commented 7 months ago

Some anecdata from my own app:

$ time bin/rspec

# before
bin/rspec  59.04s user 4.86s system 88% cpu 1:12.59 total

# after
bin/rspec  28.33s user 4.54s system 74% cpu 44.261 total