Re: FB and DO long time building?
| From: | Justin Patrin | Date: | Tue, 18 Oct 2005 21:26:10 +0000 |
| Subject: | Re: FB and DO long time building? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-21533@lists.php.net to get a copy of this message | ||
On 10/18/05, Zane <softwarezman@hotmail.com> wrote:
> Hey everybody,
>
>
>
> I've been trying to benchmark some of my forms and such to try and figure
> out where they are taking the longest to load. I have one form that has
> multiple linked tables and about 15 fields total, and I think I limited the
> time lag down to one section of code. I was just trying to figure out what
> exactly happens between the code fragments?
>
>
>
> The longest delay (about a full second or so on average) is between
> preFormGenerate and postFormGenerate. I've put time marks at the end of
> preFormGenerate and beginning of postFormGenerate to try and limit it as
> much as possible. Can anybody tell me exactly what happens between those two
> functions that might have such a big time lag? I'm using the methods based
> on the pdf file from the conference (updated pdf) using the DO getting the
> redord, passing it to the builder object and then passing it to the
> getForm() command with the getForm pulling from the $_SERVER['url'] (I know
> its not 'url' but can't remember the exact code sorry.) Any information
> would be greatly appreciated!
>
>
>
> Also I'm sorry about not providing code snippets, but the code is on a
> classified network and I have a hard time getting anything off of it due to
> security reasons. Not fun. But anything would be helpful! Thanks!
>
How much do you know about FormBuilder? What do you *think* happens
between *PRE* and *POST* GenerateForm?? Perhaps....GenerateForm! Yes,
the *form* is *generated* between those calls!
--
Justin Patrin