Is there a way to benchmark the time spent on each callbacks for a ActiveRecord?
I have 20+ before_save callbacks for a active record. Is there a way in rails to measure the time spent on each callbacks while saving a object into the store?
Save 36% for Black Friday! Save 36% on GoRails for Black Friday! Learn more
You’re not receiving notifications from this thread.
I have 20+ before_save callbacks for a active record. Is there a way in rails to measure the time spent on each callbacks while saving a object into the store?