plataformatec/simple_form — Issue #478: 1st time 500x rendering slowdown
Author: jshow
Created: 2012-02-27 22:51:35+00:00
State: open

Hello,

I've been tracking this issue for a few days now.

Some very slow simple_form renders.

From 8ms to as slow as 4000ms.

After reading through the simple_form source, I'm guessing this is because of autoloads. possible ?

The first time a vm renders a simple_form simple_form objects are loaded.

The question I have is about the boot time - I would prefer that the initialization is done earlier, when the container is booting, not when I have user waiting for a page to render. (4 seconds and they're gone).

Also 4 seconds seems huge. Is there some opportunities for speeding up the init ?

thanks for your thoughts.