| |||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | #1 (permalink) |
| NamePros Regular | 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? |
| |
| | #2 (permalink) |
| NamePros Regular | 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 |
| |
| | #3 (permalink) |
| Senior Member | 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 | Quote:
Please contact the billing/support department as soon as possible. | |
| |
| | #5 (permalink) |
| NamePros Regular | 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 |
| |
![]() |
| 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 11:35 AM |
| Googlism - What does google think of you? | deadserious | The Break Room | 55 | 12-15-2005 09:09 AM |
| Beware of PHP! | PolurNET | The Break Room | 25 | 03-29-2005 03:04 PM |