| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| NamePros Regular Join Date: Jun 2004 Location: Iowa City
Posts: 705
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Echo (why is it slow compared to other langauges) php Why is echo so slow? I run about a 100line variable in a for loop 5 times...the output is nearly 4/10 of a second.....however in coldfusion, it remains below 1 MS! whats the logical purpose for this?
__________________ formally ninedogger ------ Want to talk to a stranger? -->| Click Here | TalkToAStranger.com | <-- Meet New Friends |
| |
| | THREAD STARTER #2 (permalink) |
| NamePros Regular Join Date: Jun 2004 Location: Iowa City
Posts: 705
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | I just learned that echo isn't slow....echo is fast no matter how large the variable is....however now whats the reason why asigning a varibale takes half second? link her: http://www.frozenrain.com/forum/speed.php http://www.frozenrain.com/forum/speed.php?t=1 for source i spilt $var into four things to see if it would be faster then just $var = "whole thing" but its still slow edit..Sorry for double post, I wasn't thinking
__________________ formally ninedogger ------ Want to talk to a stranger? -->| Click Here | TalkToAStranger.com | <-- Meet New Friends |
| |
| | #3 (permalink) |
| NamePros Expert Join Date: Nov 2003 Location: Scotland
Posts: 5,069
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | firstly assinging variables in php does not take 1/2 of a second. Secodnly the link you provided shows your hosting account has been suspended,
__________________ Manage your portfolio using my new Domain Portfolio Management script. Securing Your Domain Name From Theft |
| |
| | #4 (permalink) | ||||
| Senior Member Join Date: May 2003
Posts: 2,187
![]() ![]() ![]() |
Please contact the billing/support department as soon as possible. | ||||
| |
| | THREAD STARTER #5 (permalink) |
| NamePros Regular Join Date: Jun 2004 Location: Iowa City
Posts: 705
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | sorry for that, i dont know whats up with that...but I moved the page to my normal host: http://gamingstorm.com/speed.php http://gamingstorm.com/speed.php?t=Np_rules I seem to have just made an array mistake.....Im getting the echo to be less then 1ms now and the variable assigning is giving me 2.9087066650391E-05, so thats really fast im taking it my old source had this: PHP Code: If anyone sees anything wrong with that please post, thanks
__________________ formally ninedogger ------ Want to talk to a stranger? -->| Click Here | TalkToAStranger.com | <-- Meet New Friends |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Tutorial: Getting started with PHP (The Basics) | deadserious | Webmaster Tutorials | 60 | 11-17-2007 12:35 PM |
| Googlism - What does google think of you? | deadserious | The Break Room | 55 | 12-15-2005 10:09 AM |
| Beware of PHP! | PolurNET | The Break Room | 25 | 03-29-2005 04:04 PM |