Re: Page loading time

2006-01-27 Thread Barney Boisvert
That all sounds very reasonable to me.  I'd be willing to bet that
your JS is the culprit, even if you don't see any obvious cause.  FF
deals with JS very effectively, in my experience, so I doubt it's
that.  Just start commenting out chunks of the JS file until you get
the noticeable speed-up, and then you can maybe figure out what needs
to change to make it faster all around.

cheers,
barneyb

On 1/27/06, Ben Nadel <[EMAIL PROTECTED]> wrote:
> Barney,
>
> I am trying to use cfc caching properly, but this is my first real
> CFC-intensive project. I cache most anything that does not need to be
> created  with each page call. But, for each page call, I do need to create
> some things:
>
> 1. Environment CFC (contains info about the web and server - purely public
> variables ex. Environment.Web.Root, Environment.Server.Directory). Very
> light weight, but does do some calculations.
> 2. RequestFacade CFC
> 3. Page CFC (display component which extends either oneColumnPage or
> TwoColumnPage which then extends AbstractPage - the multiple inheritence may
> cause some overhead???)
>
> But, then again, it might just be browser rendering also. If I take out my
> javascript file link, the page loads noticeably faster. I am not sure what
> to do about that. My JS file isn't even very large, nor does it do any
> processing during page load. Maybe firefox is just slow to parse JS files.
>
> I will keep trying to get the page load smaller.
>
> ...
> Ben Nadel

--
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 100 invites.

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230598
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Page loading time

2006-01-27 Thread Ben Nadel
Barney,

I am trying to use cfc caching properly, but this is my first real
CFC-intensive project. I cache most anything that does not need to be
created  with each page call. But, for each page call, I do need to create
some things:

1. Environment CFC (contains info about the web and server - purely public
variables ex. Environment.Web.Root, Environment.Server.Directory). Very
light weight, but does do some calculations.
2. RequestFacade CFC
3. Page CFC (display component which extends either oneColumnPage or
TwoColumnPage which then extends AbstractPage - the multiple inheritence may
cause some overhead???)

But, then again, it might just be browser rendering also. If I take out my
javascript file link, the page loads noticeably faster. I am not sure what
to do about that. My JS file isn't even very large, nor does it do any
processing during page load. Maybe firefox is just slow to parse JS files.

I will keep trying to get the page load smaller.

...
Ben Nadel 
Web Developer
Nylon Technology
350 7th Ave.
Suite 1005
New York, NY 10001
212.691.1134 x 14
212.691.3477 fax
www.nylontechnology.com

Sanders: Lightspeed too slow?
Helmet: Yes we'll have to go right to ludacris speed.
-Original Message-
From: Barney Boisvert [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 26, 2006 6:10 PM
To: CF-Talk
Subject: Re: Page loading time

You've already elimintated all the stuff in between CF and your browser as
potential causes, I assume?  I highly doubt CFCs are to blame for your
problem, though misuse of them (like anything else) could be it.  I believe
someone already mentioned disabling debugging, or at least the execution
times, but if not, make sure you do that. 
Also make sure you're cachign your instances appropriately, as instantiation
can be rather expensive in some cases.

cheers.
barneyb


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230584
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Page loading time

2006-01-26 Thread Barney Boisvert
You've already elimintated all the stuff in between CF and your
browser as potential causes, I assume?  I highly doubt CFCs are to
blame for your problem, though misuse of them (like anything else)
could be it.  I believe someone already mentioned disabling debugging,
or at least the execution times, but if not, make sure you do that. 
Also make sure you're cachign your instances appropriately, as
instantiation can be rather expensive in some cases.

cheers.
barneyb

On 1/26/06, Ben Nadel <[EMAIL PROTECTED]> wrote:
> Ferg,
>
> I know what you mean. My problem is that I do some page processing that,
> even on pages where it just text output (not even dynamic) there is still
> some page lag... It really irritates me to have the lag, but I don't even
> know how to cut down on the time.
>
> Just wanted to see what other people were experienceing when using more CFCs
> and such.
>
> ...
> Ben Nadel

--
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 100 invites.

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230541
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Page loading time

2006-01-26 Thread Ben Nadel
Ferg,

I know what you mean. My problem is that I do some page processing that,
even on pages where it just text output (not even dynamic) there is still
some page lag... It really irritates me to have the lag, but I don't even
know how to cut down on the time. 

Just wanted to see what other people were experienceing when using more CFCs
and such.

...
Ben Nadel 
Web Developer
Nylon Technology
350 7th Ave.
Suite 1005
New York, NY 10001
212.691.1134 x 14
212.691.3477 fax
www.nylontechnology.com

Sanders: Lightspeed too slow?
Helmet: Yes we'll have to go right to ludacris speed.
-Original Message-
From: Ken Ferguson [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 26, 2006 3:48 PM
To: CF-Talk
Subject: Re: Page loading time

That depends on SO MANY things! I mean, the answer to that question can be
different depending on who uses your site and for what purposes. It is
affected by what type of page it is and how often it will be accessed. I've
got a page in our gas pipeline system that regularly takes 15 seconds to
load. Now, on almost every site that would be considered completely
unacceptable. However, the end user in this case, expects this to be the
case and is completely ok with it. To them, the most important thing is that
they get 100% of this data that they'll never look at on the page at one
time and that it's been checked against all of the formulae to ensure it's
restricted as per the law. Of course, on some of my other pages, I need load
times to be almost instantaneous. 
During gas nominations (order entry, basically) I need there to be
absolutely no perceptible wait-time for the pages to load, as this page is
used tens of times each day by everyone on the system...

So, it's really difficult to answer your question without knowing quite a
lot about your situation.

--Ferg

Ben Nadel wrote:
> So, as I move more into the OOP world, wich heavier use of CFC, I am 
> noticing that my pages are taking longer to load on the server. I have 
> been pretty good about trying to minimize CFC creatoin if I can cache 
> it, and am learning about method call optimization...
>
> My question is, what is a reasonable load time for your web pages in 
> milliseconds?
>
> ...
> Ben Nadel
> Web Developer
> Nylon Technology
> 350 7th Ave.
> Suite 1005
> New York, NY 10001
> 212.691.1134 x 14
> 212.691.3477 fax
> www.nylontechnology.com
>
> Sanders: Lightspeed too slow?
> Helmet: Yes we'll have to go right to ludacris speed.
>
>
> 



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230540
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Page loading time

2006-01-26 Thread Ken Ferguson
That depends on SO MANY things! I mean, the answer to that question can 
be different depending on who uses your site and for what purposes. It 
is affected by what type of page it is and how often it will be 
accessed. I've got a page in our gas pipeline system that regularly 
takes 15 seconds to load. Now, on almost every site that would be 
considered completely unacceptable. However, the end user in this case, 
expects this to be the case and is completely ok with it. To them, the 
most important thing is that they get 100% of this data that they'll 
never look at on the page at one time and that it's been checked against 
all of the formulae to ensure it's restricted as per the law. Of course, 
on some of my other pages, I need load times to be almost instantaneous. 
During gas nominations (order entry, basically) I need there to be 
absolutely no perceptible wait-time for the pages to load, as this page 
is used tens of times each day by everyone on the system...

So, it's really difficult to answer your question without knowing quite 
a lot about your situation.

--Ferg

Ben Nadel wrote:
> So, as I move more into the OOP world, wich heavier use of CFC, I am
> noticing that my pages are taking longer to load on the server. I have been
> pretty good about trying to minimize CFC creatoin if I can cache it, and am
> learning about method call optimization... 
>
> My question is, what is a reasonable load time for your web pages in
> milliseconds?
>
> ...
> Ben Nadel 
> Web Developer
> Nylon Technology
> 350 7th Ave.
> Suite 1005
> New York, NY 10001
> 212.691.1134 x 14
> 212.691.3477 fax
> www.nylontechnology.com
>
> Sanders: Lightspeed too slow?
> Helmet: Yes we'll have to go right to ludacris speed.
>
>
> 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230525
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Page loading time

2006-01-26 Thread Ben Nadel
So, as I move more into the OOP world, wich heavier use of CFC, I am
noticing that my pages are taking longer to load on the server. I have been
pretty good about trying to minimize CFC creatoin if I can cache it, and am
learning about method call optimization... 

My question is, what is a reasonable load time for your web pages in
milliseconds?

...
Ben Nadel 
Web Developer
Nylon Technology
350 7th Ave.
Suite 1005
New York, NY 10001
212.691.1134 x 14
212.691.3477 fax
www.nylontechnology.com

Sanders: Lightspeed too slow?
Helmet: Yes we'll have to go right to ludacris speed.


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230508
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54