if performance/profiling this script is very important then take up the various
suggestionms for doing just that - the only useful performance answer is the
one you
garner from your own testing (i.e. within your own env/setup)
with regard to the 3500 lines of code (with 300 odd being run on any o
Casey Chu wrote:
Yeah, try testing. Maybe something like this:
Execute";
if ($_POST['code']) {
echo "";
$time_start = microtime_float();
eval($_POST['code']);
$time_end = microtime_float();
echo "Loading took: ". $time_end - $time_start. '';
}
echo "$form";
// Note: This script is extrem
Casey Chu wrote:
>
> Yeah, try testing. Maybe something like this:
> $form = " name='code'> type='submit'>Execute";
> if ($_POST['code']) {
> echo "";
>$time_start = microtime_float();
>eval($_POST['code']);
>$time_end = microtime_float();
> echo "Loading took: ". $time_end -
Yeah, try testing. Maybe something like this:
Execute";
if ($_POST['code']) {
echo "";
$time_start = microtime_float();
eval($_POST['code']);
$time_end = microtime_float();
echo "Loading took: ". $time_end - $time_start. '';
}
echo "$form";
// Note: This script is extremely dangerous and
At 12/23/2006 10:33 AM, Jean-Christophe Roux wrote:
Hello, I have this php script of 3,500 lines with a big switch that
is such that on each pass maybe 300 lines of codes are executed at
most. The current speed of the file is ok. I like to keep the file
like that because at each pass there is a
such
as Smarty.
Satyam
- Original Message -
From: "Jean-Christophe Roux" <[EMAIL PROTECTED]>
To:
Sent: Saturday, December 23, 2006 7:33 PM
Subject: [PHP] Script's length, echo, and execution speed
Hello,
I have this php script of 3,500 lines with a big swi
Hello,
I have this php script of 3,500 lines with a big switch that is such that on
each pass maybe 300 lines of codes are executed at most. The current speed
of the file is ok. I like to keep the file like that because at each pass
there is a check on the whole script and it fails if there is
7 matches
Mail list logo