Re: A puzzler (well, for me at least)

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

 



Richard Heyes wrote:

> Hi,
> 
> I've been recently wondering (musing if you will) about timings, and
> roughly how long, in a very real sense, it takes on a modern computer
> for a single line of PHP, or Javascript (or interpreted code in
> general) to execute. Nanoseconds? Quicker?

Not taking pipelining into account, a 3GHz processor will execute one
instruction in 333 picoseconds, so three instructions in a nanosecond. 
How many instructions to a line of code?  10,000 ?



-- 
Per Jessen, Zürich (4.6°C)


--
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