Re: Page-Execution-Timer...PHP vs WebDNA
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 55535
interpreted = N
texte = >What is it about PHP that makes people want to use it???$$$On Fri, 16 Jan 2004 22:16:52 -0800 "Sal"
wrote:>>From page:>>http://keithdevens.com/weblog/archive/2003/Dec/03/page-execution-timer>>function timer($finish = false){> static $start_frac_sec, $start_sec, $end_frac_sec, $end_sec;> if($finish){> list($end_frac_sec,$end_sec) = explode(" ", microtime());> echo 'This page took about ' .> round(> (> ($end_sec - $start_sec)> + ($end_frac_sec - $start_frac_sec)> ),> 4) . ' seconds to generate.
\n';> }else{> list($start_frac_sec,$start_sec) = explode(" ", microtime());> }>}>?>>>>wtf was all that wasted code? in webdna:>at bottom of page:>this page took [format .4f][math][elapsedtime]/60[/math][/format] seconds to>generate. >What is it about PHP that makes people want to use it???>by Amazing BrianB on 5-Dec-2003 8:42pm est>>Good question Brian, too bad no one responded. ;-)>>Sal D'Anna>>>------------------------------------------------------------->This message is sent to you because you are subscribed to> the mailing list .>To unsubscribe, E-mail to: >To switch to the DIGEST mode, E-mail to >Web Archive of this list is at: http://webdna.smithmicro.com/------------------------------------------------------------http://www.StrongGraphicDesign.comhttp://www.SearchBoise.com-------------------------------------------------------------------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
>What is it about PHP that makes people want to use it???$$$On Fri, 16 Jan 2004 22:16:52 -0800 "Sal" wrote:>>From page:>>http://keithdevens.com/weblog/archive/2003/Dec/03/page-execution-timer>>function timer($finish = false){> static $start_frac_sec, $start_sec, $end_frac_sec, $end_sec;> if($finish){> list($end_frac_sec,$end_sec) = explode(" ", microtime());> echo 'This page took about ' .> round(> (> ($end_sec - $start_sec)> + ($end_frac_sec - $start_frac_sec)> ),> 4) . ' seconds to generate.
\n';> }else{> list($start_frac_sec,$start_sec) = explode(" ", microtime());> }>}>?>>>>wtf was all that wasted code? in webdna:>at bottom of page:>this page took [format .4f][math][elapsedtime]/60[/math][/format] seconds to>generate. >What is it about PHP that makes people want to use it???>by Amazing BrianB on 5-Dec-2003 8:42pm est>>Good question Brian, too bad no one responded. ;-)>>Sal D'Anna>>>------------------------------------------------------------->This message is sent to you because you are subscribed to> the mailing list .>To unsubscribe, E-mail to: >To switch to the DIGEST mode, E-mail to >Web Archive of this list is at: http://webdna.smithmicro.com/------------------------------------------------------------http://www.StrongGraphicDesign.comhttp://www.SearchBoise.com-------------------------------------------------------------------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
"Dan Strong"
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
[WebDNA] 3-5 GB of native WebDNA db in RAM?, else MySQL w/WebDNA [SQL] tags, else skip WebDNA altogether? (2009)
WebCat & Liststar (1997)
WebDNA 4.5 upgrade? (2002)
[WebDNA] mail error (2017)
ImageMagick and [shell] (2003)
Configuring E-mail (1997)
WC Database Format (1997)
Weird problems with [SHOWIF]s (1997)
Cart Transfer from Un-Secure to Secure (2000)
insecuretextvars preference doesn't work (2000)
international time (1997)
send mail problem? (1997)
Ready,Set; Print! (1999)
[protect admin] (1997)
won't serve .tpl (2000)
Newbie question (1998)
[WebDNA] Two stores one db (2011)
Mystery authentication (1997)
XML WebDNA Problems (2000)
A quickie question (1997)