Website Render Time
DSF2 19
From: -
From: -
Notice
This topic is archived. New comments cannot be posted and votes cannot be cast.Responses to this topic
1 Re: Website Render Time
Rushian 0
From: -
From: -
Website Render Time
Hi,
Thanks for the tip!
Hi,
Thanks for the tip!
1 Re: Website Render Time
Philipp
From: Vienna, Austria
Administrator
1340From: Vienna, Austria
Website Render Time
You really should upgrade your PHP installation to 4.4.2. There are known security issues with 4.3.9
You really should upgrade your PHP installation to 4.4.2. There are known security issues with 4.3.9
1 Re: Website Render Time
Rushian 0
From: -
From: -
Website Render Time
I double checked the mods on my end, and it still displays negative values sometimes.. Ah well.. another Win32 short-coming I guess. Granted my version of PHP is a bit old. (4.3.9)
I double checked the mods on my end, and it still displays negative values sometimes.. Ah well.. another Win32 short-coming I guess. Granted my version of PHP is a bit old. (4.3.9)
1 Re: Website Render Time
Philipp
From: Vienna, Austria
Administrator
1340From: Vienna, Austria
Website Render Time
I guess I need a faster testserver . At least it seems to work fine on my test install (running under MacOS/Darwin with PHP 5.0.5).
I guess I need a faster testserver . At least it seems to work fine on my test install (running under MacOS/Darwin with PHP 5.0.5).
1 Re: Website Render Time
Rushian 0
From: -
From: -
Website Render Time
Either I did this wrong or my server is super fast... Many times I get negative numbers!
Example:
Render time: -0.233288 seconds
Maybe the Win32 version of PHP has a calculation bug?!
Either I did this wrong or my server is super fast... Many times I get negative numbers!
Example:
Render time: -0.233288 seconds
Maybe the Win32 version of PHP has a calculation bug?!
1 Re: Website Render Time
Philipp
From: Vienna, Austria
Administrator
1340From: Vienna, Austria
Website Render Time
Open core.php and add after:
the following line:
Then open site_footer and replace:
with:
and add somewhere in the HTML part of the template:
Open core.php and add after:
error_reporting(0);
the following line:
$time_now = microtime();
Then open site_footer and replace:
global $insert;
with:
global $insert,$time_now;
$render_time = microtime() - $time_now;
and add somewhere in the HTML part of the template:
Render time: $render_time seconds
There is a way to see how fast website is generated ?
Thanx