RE: Odd behavior when parsing variables inside CFC

2006-08-26 Thread Tom Kitta
Too much CSS - no slowdowns with good old tables :)

Play around with the code - maybe the variables names interfere with
something. Insert some comments - worked for Flash. Look at the value of the
variable etc.

TK

-Original Message-
From: Charles Sheehan-Miles [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 26, 2006 11:12 AM
To: CF-Talk
Subject: Odd behavior when parsing variables inside CFC


Hello all,

I¹ve noticed some off behavior, wondering if anyone has run into anything
similar.  When calling a page from my testing site, after some changes, I
noticed that on every page request, it started taking a VERY long time to
process (at least 2 second) and cpu utilization on the system would
temporarily jump to 20-25%.  I¹m the only user on the server.

I started commenting out my recent changes until I found the offending line.
Here it is:

CUSTOMHEAD = KEYWORD & CHR(13) &
HEADINSERT.HEADINSERT & CHR(13);CUSTOMHEAD = CUSTOMHEAD & "" & CHR(13);

It¹s the second line in the script which causes it.  Without it, I get
instant response on the page request.  With it, I get a spike in CPU and a
long-long page load.  Any ideas?





~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251163
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Odd behavior when parsing variables inside CFC

2006-08-26 Thread Charles Sheehan-Miles
Hello all,

I¹ve noticed some off behavior, wondering if anyone has run into anything
similar.  When calling a page from my testing site, after some changes, I
noticed that on every page request, it started taking a VERY long time to
process (at least 2 second) and cpu utilization on the system would
temporarily jump to 20-25%.  I¹m the only user on the server.

I started commenting out my recent changes until I found the offending line.
Here it is:

CUSTOMHEAD = KEYWORD & CHR(13) &
HEADINSERT.HEADINSERT & CHR(13);CUSTOMHEAD = CUSTOMHEAD & "" & CHR(13);

It¹s the second line in the script which causes it.  Without it, I get
instant response on the page request.  With it, I get a spike in CPU and a
long-long page load.  Any ideas?



~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251161
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4