Hi
I stumbled across while trying to make some of my forms load faster. The forms in question were initially based on complex sets and taking approx 12-13 seconds to load (using the profile_begin() and profiler_end() commands positioned before and after the form_load() or its equivalent.)
I then went about creating simpler sets and using lookup calculated fields to produce an identical form layout. By doing this I have reduced the form loading to 3.5 seconds on average (the quickest being 3.47).
In these two scenarios the forms were created from the forms tab on the control panel (standard way of doing things so I won't elaborate)
While trying to learn about adhoc browse and possible benefits to whatever (not 100% sure of their relevance - still learning). I came across reference to Adhoc forms. So being the curious type I decided to duplicate the "3.5 sec" form using the Adhoc forms technique to see what the difference was. Without changing any table structures and keeping exactly the same calculated fields and variables on the form, the loading time came down to 2.7 seconds on average the slowest being 2.81. This equates to being approx 20% faster.
I thought this may have just been a chance memormy resource effect, so I went about recreating the more complex "12-13 secs" form using the Adhoc forms technique. To my surprise the adhoc form loaded in 8.5 secs on avg with the slowest being 9.11, fastest being 7.55.
The best result I achieved with the"12-13 secs" normal form was 11.94 This equates to approx 25-35% quicker.
Before i go about changing the design of my forms using the Adhoc technique. I was wondering if anyone has similar experience with adhoc forms and results with loading times. Are ther any negatives designing using adhoc forms.
I would hate to redesign all my forms and later find out that my experience was just some kind of coincidence.
Also, if it turns out the Adhoc forms do load quicker, is there some kind of logic or reasoning behind this method?
I've just summarised my observations, as this message was getting way too long. So if anyone needs more information as to what I actually did, ask questions as I am all for finding new ways to loading forms quicker.
I stumbled across while trying to make some of my forms load faster. The forms in question were initially based on complex sets and taking approx 12-13 seconds to load (using the profile_begin() and profiler_end() commands positioned before and after the form_load() or its equivalent.)
I then went about creating simpler sets and using lookup calculated fields to produce an identical form layout. By doing this I have reduced the form loading to 3.5 seconds on average (the quickest being 3.47).
In these two scenarios the forms were created from the forms tab on the control panel (standard way of doing things so I won't elaborate)
While trying to learn about adhoc browse and possible benefits to whatever (not 100% sure of their relevance - still learning). I came across reference to Adhoc forms. So being the curious type I decided to duplicate the "3.5 sec" form using the Adhoc forms technique to see what the difference was. Without changing any table structures and keeping exactly the same calculated fields and variables on the form, the loading time came down to 2.7 seconds on average the slowest being 2.81. This equates to being approx 20% faster.
I thought this may have just been a chance memormy resource effect, so I went about recreating the more complex "12-13 secs" form using the Adhoc forms technique. To my surprise the adhoc form loaded in 8.5 secs on avg with the slowest being 9.11, fastest being 7.55.
The best result I achieved with the"12-13 secs" normal form was 11.94 This equates to approx 25-35% quicker.
Before i go about changing the design of my forms using the Adhoc technique. I was wondering if anyone has similar experience with adhoc forms and results with loading times. Are ther any negatives designing using adhoc forms.
I would hate to redesign all my forms and later find out that my experience was just some kind of coincidence.
Also, if it turns out the Adhoc forms do load quicker, is there some kind of logic or reasoning behind this method?
I've just summarised my observations, as this message was getting way too long. So if anyone needs more information as to what I actually did, ask questions as I am all for finding new ways to loading forms quicker.
Comment