Tuesday, May 25, 2010

Re: function execution time

> I have just tried to check time before and after function using PHP:
> <?php $trasa=microtime(); ?>
> <?php echo 'time: '.round(microtime()-$trasa, 10).'s.';  ?>
>
> But it doesn't work properly.

You misunderstand how php works. php runs at the server, and when php
has completed running, the output (an HTML page including javascript)
is passed to the client browser. Then the client browser runs that
part.

To time something in javascript ...
http://www.google.com/search?q=execution+time+javascript

--
You received this message because you are subscribed to the Google Groups "Google Maps API" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate