WARNING: This is very much alpha!
Note to Window's Users
Sorry guys, I try to make my stuff work for you without having access to a Window's box to test on. In this case not so much. I'm using
gmaketo install Phantomas at this time. You're welcome to fork and submit a pull request with a downloader/extractor that works on Windows, Mac and (most importantly) Linux.
Note to Mac Users
This should work for you, but I don't have access to a Mac to test on. Open a bug if you're having issues and I'll try to find someone's Mac to debug this on.
CentOS needs the following for PhantomJS
yum install freetype fontconfig
git clone https://github.com/jmervine/bench.git cd bench make setup # npm install is supported (but may be buggy) via: # $ npm install -g jmervine/bench
See Phapper if you're having issues with PhantomJS.
- Update configuration (`./config.json') to reflect your host, path and thresholds.
# see: node ./index.js --help node ./index.js "http://example.com" # if via npm # $ bench --help # $ bench "http://example.com"
init, it's not needed with a git checkout. It's for
npm install, which isn't working yet.
- Start server:
node ./index.js server # if via npm # $ bench server