Originally posted by Nou
only losers use echo, use print!!!!
echo > print
besides..it wouldn't show anything...itd just go to mybed
+
Output
Echo Start Time : 1090940439.3392
Echo End Time : 1090940439.4253
Echo Time Difference : 0.086142063140869
Print Start Time : 1090940439.4254
Print End Time : 1090940439.5179
Print Time Difference : 0.092495918273926
Times difference between print and echo : 0.0063538551330566
Loop Content : foo
Loop times : 50000
Server Stastics
Server Software : Apache/1.3.29 (Unix) mod_ssl/2.8.16 OpenSSL/0.9.7c PHP/5.0.1-dev-200407141030-gurugeek
Server Time : July 27, 2004, 5:00 pm
Php Version : 5.0.1-dev-200407141030-gurugeek
Echo
107%
Print
93%
Results
The results are pretty self explanatory. ECHO is faster than PRINT by 0.0063538551330566 seconds OR 7 percent. At this point of time
I wish to thank ted 'midg3t' for his contribution to this experiment. Peace.
Jul-27-2004 16:05
Boomer187
Spicy Hotdog
Registered: Aug 2001
Location: USA
quote:
Originally posted by Nou
for seriouse??? I just so used to using print from back when I first learned Perl, never knew echo was "faster" and actually, that tiny little increment of time is important, if you got a site getting thousands of calls every minute, that adds up!
But Im still to lazy to change my habit
Thats why j00 don't get da p00n.
n00b.
Jul-27-2004 19:19
glittergirl
glowgirl
Registered: Jul 2004
Location: DC
you cant use print for everything anyway.
___________________
glittergirl glowgirl
"We must be the change we wish to see in the world" - Gandhi.