News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Matt Kalinowski's Blog:
Determine Browser Speed with PHP
May 31, 2006 @ 05:52:52

On Matt Kalinowski's blog, there's a quick post with some code to help you test just how fast your user's browser speed is as they hit your site.

So, you have a site that offers both an enhanced and standard style page. However, you realize that not every web user is going to know if they would be best suited for either version. Therefor, this speed test will allow you to determine their speed. This could also be used in other situations as well, but the one stated above is the one I found most appropriate.

Basically, the script works with the microtime functionality in PHP to do some speed tests for the amount of data given divided by how long it takes that data to get out to the user.

0 comments voice your opinion now!
determine browser speed microtime divide determine browser speed microtime divide


blog comments powered by Disqus

Similar Posts

Brian Moon's Blog: PDO Turbo Button

Community Crosstalk: Matthew O'Phinney & Scott Johnson on Dynamic Function/Method Calls

Zend Developer Zone: SQLite: Lean, Mean DB Machine

Total PHP: Browser based template editor

Gareth Heyes: Bypassing XSS Auditor


Community Events

Don't see your event here?
Let us know!


language example security community podcast introduction list api library php7 interview laravel series voicesoftheelephpant opinion extension laravel5 version framework release

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework