Every repository with this icon (
Every repository with this icon (
tree 246ad01c1c697a4dd062bc367ac6595688099034
parent 154292e9644cb7a7ecab29fa9d6d973eebc2c2d0
clientperf
Synopsis
Measures the time it takes a user’s browser to get from the top of a web page to the window.onload event. This includes all asset requests.
Installation
Most cases:
sudo gem install clientperf
clientperf /path/to/rails/app
cd /path/to/rails/app
rake db:migrate
For clientperf developers, follow the above steps to generate the clientperf tables for a rails app, then:
cd /path/to/rails/app
rm -rf vendor/plugins/clientperf
git clone git://github.com/efalcao/clientperf.git vendor/plugins/clientperf
Usage
http://<site>/clientperf to view metrics
Configuration
edit config/clientperf.yml
---
username: bob
password: foo
this allows for http basic auth on the /clientperf url
License
Copyright © 2008 Eric Falcao <efalcao@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.







