Bud,

What about memory? I've seen an MG app load very slowly when the memory
limit on the server was reached.

On Wed, Feb 10, 2010 at 5:28 PM, Bud <[email protected]> wrote:

> Thanks, but I've been through that article. Nothing applies. My Model
> Glue application is not slow. It's very fast. The initialization of it
> is slow. I've timed the init function in my main controller, which is
> where I load all my model cfcs, thinking that may be taking too long,
> but that runs in .3 seconds.
>
> I just removed all the event types to test. It might have saved a
> second or so. At least with them in there I can see the time it's
> taking to cycle through the event handlers. It's taking over .1
> seconds to cycle through each event handler and a couple seem to take
> a couple seconds or longer. I have 100+ event handlers. Is that common
> or am I screwing up?
>
> Thanks,
> Bud
>
>
> On Feb 10, 8:00 am, Dan Wilson <[email protected]> wrote:
> > Sometimes it is faster and cleaner to just attempt to do something, then
> > catch the error, rather than go through all the possibilities of figuring
> > out whether a certain thing should be done or not.
> >
> > ColdSpring uses this technique a lot and probably a fair bit of the
> > exceptions you see are a result of that. We do it to a degree, when it
> makes
> > sense.
> >
> > As for why your application is slow, I'd recommend reading up on this
> > article:
> http://docs.model-glue.com/wiki/FAQs/WhyIsMyModelGlueApplicationSlow
> >
> > DW
> >
> > On Wed, Feb 10, 2010 at 7:55 AM, Bob Silverberg <
> [email protected]>wrote:
> >
> >
> >
> >
> >
> > > On Wed, Feb 10, 2010 at 7:21 AM, Bud <[email protected]> wrote:
> >
> > >> Hi all. I'm still having terribly slow startup times on my CF 7 box.
> > >> I'm using the new MG maintenance release. I just now noticed something
> > >> in the ColdFusion debugging exceptions.
> >
> > >> ...\ModelGlue\gesture\factory\TypeDefaultingMapBasedFactory.cfc(53)
> > >> type    Application
> > >> message Could not find the ColdFusion Component general.
> >
> > > I was wondering about that message too, but have been too lazy to post
> > > about it.  I'm guessing it has something to do with the fact that event
> > > types can be defined as cfcs as well as in the xml. It is kind of
> annoying
> > > to have those exceptions appear in the debugging info on startup - is
> there
> > > anything that can be done about that?
> >
> > > Cheers,
> > > Bob
> >
> > > --
> > > Bob Silverberg
> > >www.silverwareconsulting.com
> >
> > > Hands-on ColdFusion ORM Training @ cf.Objective() 2010
> > >www.ColdFusionOrmTraining.com
> >
> > >  --
> > > Model-Glue Sites:
> > > Home Page:http://www.model-glue.com
> > > Documentation:http://docs.model-glue.com
> > > Bug Tracker:http://bugs.model-glue.com
> > > Blog:http://www.model-glue.com/blog
> >
> > > You received this message because you are subscribed to the Google
> > > Groups "model-glue" group.
> > > To post to this group, send email to [email protected]
> > > To unsubscribe from this group, send email to
> > > [email protected]<model-glue%[email protected]>
> <model-glue%[email protected]<model-glue%[email protected]>
> >
> > > For more options, visit this group at
> > >http://groups.google.com/group/model-glue?hl=en
> >
> > --
> > “Come to the edge, he said. They said: We are afraid. Come to the edge,
> he
> > said. They came. He pushed them and they flew.”
> >
> > Guillaume Apollinaire quotes
>
> --
> Model-Glue Sites:
> Home Page: http://www.model-glue.com
> Documentation: http://docs.model-glue.com
> Bug Tracker: http://bugs.model-glue.com
> Blog: http://www.model-glue.com/blog
>
> You received this message because you are subscribed to the Google
> Groups "model-glue" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<model-glue%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/model-glue?hl=en
>



-- 
Nando M. Breiter
The CarbonZero Project
CP 234
6934 Bioggio
Switzerland

+41 91 606 6372

[email protected]
www.carbonzero.ch

-- 
Model-Glue Sites:
Home Page: http://www.model-glue.com
Documentation: http://docs.model-glue.com
Bug Tracker: http://bugs.model-glue.com
Blog: http://www.model-glue.com/blog

You received this message because you are subscribed to the Google
Groups "model-glue" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/model-glue?hl=en

Reply via email to