Re: Saving css state in javascript and passing to php via form submit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, March 31, 2007 4:11 am, Tijnema ! wrote:
> I've did a few test on this PC(AMD64 3200+), it's running EasyPHP
> (Apache+PHP+MySQL), and it shows me that PHP is about twice as fast
> then Javascript.(Tested using IE6, FF wasn't working because script
> took too long to execute, which generates messages on firefox, and
> which didn't let me finish the script)

On a LARGE and BUSY server, the question probably isn't "which is
faster".

It's "which are there more of"? :-)

In other words, if you have 100 $40,000 Sun servers, and you have two
options:

Throw some PHP on them all, to process this stuff in 0.03 seconds
Throw some JS out, and let the client side process it in 0.06 seconds

Note that you probably have zillions of visitors with over-powered
desktop machines, for the most part.

Which is going to make your overloaded servers "seem" faster?

Not that I've ever done this, mind you, but I suspect that it's
another case where a raw benchmark isn't really applicable in the Real
World, for most cases where you'd even want to benchmark it.

YMMV
NAIAA
IANAL

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux