mikker / passwordless

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

Skip bcrypt in test env #190

Closed mikker closed 11 months ago

mikker commented 11 months ago

This could make everyone's test suites a bunch faster

mikker commented 11 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