• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

CF2016 CFM page ~900 ms delay before processing page v 30-40 ms for htm

Community Beginner ,
Dec 01, 2017 Dec 01, 2017

Copy link to clipboard

Copied

Looking for any intel on known issues.
- did not want to drag anyone into debugging for us but wanted to mention the item in case it strikes a chord

Thanks

Views

362

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 01, 2017 Dec 01, 2017

Copy link to clipboard

Copied

Where are you seeing/tracking the delay?


/Charlie (troubleshooter, carehart.org)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 04, 2017 Dec 04, 2017

Copy link to clipboard

Copied

Browser dev tools confirm and quantify the unusually slow cfm page rendering. Other pages outside of cf are unaffected by this significant delay. Oddly this periodically renders as actual timeout errors. 

If this doesn't ring a bell for any known issues...we will keep digging.
(If we find the reason we will post here.)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 04, 2017 Dec 04, 2017

Copy link to clipboard

Copied

To start with, you're comparing two different things. ColdFusion processes CFM pages, but does not process HTML pages.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 04, 2017 Dec 04, 2017

Copy link to clipboard

Copied

There could be any number of reasons to explain the delay, but as @BKBK has pointed out, you are comparing apples and SUVs.  HTML pages are sent directly to the browser for parsing; CFML pages build HTML on the fly and hands that to the web server to send to the browser.

Is this a new install of CF Server?  If not, how long has the server been operating, and how recently has the delay started becoming noticeable?  Have you tried altering configuration (how much memory is allowed to the server, etc.)?  How much memory does the physical server have?  CPU speed and number of cores?  RAM type?  The list goes on and on.  Please help us help you by providing the necessary information for us to analyze.

V/r,

^ _ ^

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 04, 2017 Dec 04, 2017

Copy link to clipboard

Copied

Hi Wolfshade & bkbk

- this is a new install.

- just mentioning html page response as a point of reference

- other cf servers we run have only slightly slower response time when comparing cfm to htm

  (normally we would see 60-80ms on a cfm which is 10x performance drop)

- i was truly just checking for 'known issues'

- if nothing comes to mind we will keep debugging/tuning or reinstall

Thanks

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 04, 2017 Dec 04, 2017

Copy link to clipboard

Copied

I would run this test for a quick estimate of the CFM page processing time:

<!--- At top of page --->

<cfset pageStart = getTickCount()>

<!---

Contents of CFM page

--->

<!--- At bottom of page --->

<cfset timeInterval = getTickCount()-pageStart>

<cflog text="Duration: #timeInterval# milliseconds" file="pageProcessingTest" >

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 04, 2017 Dec 04, 2017

Copy link to clipboard

Copied

BKBK - thanks for the reminder to isolate actual processing time 

- we zeroed in on a 0ms processing
- found our test was grabbing gunk in application.cfm (which we over looked)

Operator Error. Doh.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 05, 2017 Dec 05, 2017

Copy link to clipboard

Copied

LATEST

Application.cfm - good find, @cffiddler. Thanks for sharing it.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation