LibreSpeed
Self-hosted Speedtest for HTML5 and more
...Works with mobile versions too. Requires a reasonably fast web server with Apache 2 (nginx, IIS also supported) PHP 5.4 (other backends also available) MySQL database to store test results (optional, PostgreSQL and SQLite also supported) A fast! internet connection.