For every application_start, I call ActiveRecordStarter.Initialize (actually it's part of the ActiveRecordIntegration facitliy). This seems to be very heavy, takeing around 3.5 seconds to initialize my 16 objects.
some background: 1. got 16 AR objects for now, almost never changed (maybe once a week). 2. most of the changes are not AR related, still I'm "suffering" from the huge application startup time when developing locally (need to wait 3.4sec to AR to load, although nothing really changed there).
My thoughts: it seems that if I'll persist the configuration of AR into binary file and load it, if noting changed (for example, by looking at the AR objects and doing some MD5 on their source files to see changes). If something was changed, I need to re-create the binary file. From testing I've done, it looks like most of the time is from there.
So: a. am I going in the right direction there? maybe I'm doing something wrong? b. did you fix it already and care to share it with me? :)