Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A performance focused fork of confess.js

branch: master
README.md

loadreport.js

PhantomJS 1.6+ is required to run loadreport.js or speedreport.js.

You can take it for a spin in this live demo.

loadreport Examples

loadreport will write, to csv, json or junit format xml (filmstrip writes to png):

  • phantomjs loadreport.js http://cnn.com performance csv loadreport

  • phantomjs loadreport.js http://cnn.com performancecache json

  • phantomjs loadreport.js http://cnn.com filmstrip loadreport filmstrip

speedreport Examples

speedreport produces a json and html file which will display detailed resource charting

  • phantomjs speedreport.js http://www.cnn.com speedreport

Embedded web server

Quickly display speedreport HTML files

Install npm packages

  • npm install

Generate a report

  • phantomjs speedreport.js http://www.cnn.com

Run the webserver

  • ./node_modules/loadreport/lib/webserver.js [www_dir]

Run your favorite browser to http://localhost:8080/.

Documentation index

http://maboiteaspam.github.io/loadreport/documentation/schedule-loadreport.html

http://maboiteaspam.github.io/loadreport/documentation/speedreport.html

http://maboiteaspam.github.io/loadreport/documentation/loadreport.html

http://maboiteaspam.github.io/loadreport/documentation/main.html

http://maboiteaspam.github.io/loadreport/documentation/webserver.html

Development support

Setup

Install npm packages

  • npm install grunt-cli -g
  • npm install mocha -g
  • npm install

Test

See mocha

  • npm test

Document

See grunt-gh-pages, docco

  • grunt

Release, Bump version

See grunt-release

  • grunt release:patch

License

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.

Something went wrong with that request. Please try again.