Yii Framework Forum: Script execution time - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Script execution time how to define one? Rate Topic: -----

#1 User is offline   Karasko 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 89
  • Joined: 14-July 09
  • Location:Russia

Posted 03 March 2010 - 05:12 PM

I want to know how many milliseconds my page take to generate.

What should i use ? Some kind of logger? Which one ?

Many thanks...
0

#2 User is offline   Mike 

  • Elite Member
  • PipPipPipPipPip
  • Yii
  • Group: Members
  • Posts: 3,016
  • Joined: 06-October 08
  • Location:Upper Palatinate

Posted 04 March 2010 - 03:00 AM

Some things you can use: Performance Profiling, Inspect Firebug Network Tab, YSlow, ab (Apache benchmark). Depends on what exactly you want to measure.
0

#3 User is offline   Karasko 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 89
  • Joined: 14-July 09
  • Location:Russia

Posted 04 March 2010 - 03:48 AM

View PostMike, on 04 March 2010 - 03:00 AM, said:

Some things you can use: Performance Profiling, Inspect Firebug Network Tab, YSlow, ab (Apache benchmark). Depends on what exactly you want to measure.

I want measure server generated response time. I use YSlow for client side, very informative.
0

#4 User is offline   rohit 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 71
  • Joined: 08-July 09
  • Location:India

Posted 04 March 2010 - 06:20 AM

Check Logging section from guide, in that check performance profiling topic.
Yii::beginProfile('blockID');
...code block being profiled...
Yii::endProfile('blockID');

0

#5 User is offline   Vince. 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 432
  • Joined: 29-December 08
  • Location:Los Angeles,CA

Posted 04 March 2010 - 11:18 AM

I think you are looking for http://www.yiiframew...etExecutionTime
Vince Gabriel, Lead Developer.
Posted ImagePosted ImagePosted Image
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users