Application specs are slow when upgrading to ruby 3.2.2 and 3.3.0 from 3.1.4

69 Views Asked by At

I am in the process of upgrading ruby version from v3.1.4 to v3.2.2 The specs take 18-19 minutes on v3.1.4, but they run for about 45-47 minutes v3.2.2

This is one of the logs i see in test.log when running rspecs for ruby 3.1.4

User Create (1.7ms)  INSERT INTO "users" ("email", "encrypted_password", "role", "reset_password_token", "reset_password_sent_at") 

Where as in ruby 3.2.2 and 3.3.0

User Create (8.6ms)  INSERT INTO "users" ("email", "encrypted_password", "role", "reset_password_token", "reset_password_sent_at") 

Any idea what i might be missing during the upgrades. I have done many upgrades before, but this one is different.

1

There are 1 best solutions below

0
On

Found the culprit gem. It was Bigdecimal gem. Until bigdecimal gem v3.1.1, it was good. They changed something in v3.1.2 which started slowing. Anyways, i am unblocked and good with the upgrade. Thanks everyone for taking time to answer the question.