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

finding pages that take a long time to load

New Here ,
May 21, 2008 May 21, 2008

Copy link to clipboard

Copied

We suspect that certain pages on our site take a long time to load when more than one user is hitting the page at the same time. Is there a few lines of Coldfusion code we can throw into application.cfc that would write to a log file how long it takes every page to load?
TOPICS
Advanced techniques

Views

230

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 ,
May 21, 2008 May 21, 2008

Copy link to clipboard

Copied

You could switch debugging on...

--
Adam

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 ,
May 21, 2008 May 21, 2008

Copy link to clipboard

Copied

LATEST
jqcf wrote:
> Coldfusion code we can throw into application.cfc that would write to a log
> file how long it takes every page to load?

sorry no, nothing like that kind of shortcut. best bet is to log "slow" running
pages via cfadmin then use cftimer (or getTickCount()) covering chunks of
suspect code.


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