Monday, May 22, 2017

Re: Where is all the time going?

On 5/22/17 10:12 PM, Bernd Wechner wrote:
James,

If you have the fortitude and kind heart to look at it, sure the code base (just checked in) is here:
https://github.com/bernd-wechner/CoGs
it's the Create view on the Session model that is taking 30s to render, no other model, and that one is the central model of interest with a custom form that needs related model forms as well, to wit is a tad complex and I'm experimenting with keeping it as generic as I can for reuse later (DRY), though it is highly experimental and hacked up as I'm learning on the fly.
In my experience long "render times" have always come from an unintended very long list in a menu of candidates for filling out a form. Make sure that the input choices are small in number!

hth

- Tom

No comments:

Post a Comment