Skip to content
This repository was archived by the owner on Dec 11, 2021. It is now read-only.

Commit 1a0969f

Browse files
committed
Readme: Add instructions for performance testing
1 parent ff6e6c6 commit 1a0969f

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,28 @@ Once you've cloned Chassis to your machine, run `npm install` and `grunt build`
2727
$ npm install
2828
$ grunt build
2929
```
30+
31+
### Performance testing
32+
33+
## Setup
34+
35+
* Follow the steps for building above
36+
* Ensure you have both firefox and chrome browsers installed
37+
* Download CouchDB from [http://couchdb.apache.org/#download](http://couchdb.apache.org/#download)
38+
* Start CouchDB
39+
40+
## Running the tests
41+
42+
Once you have completed the setup run `grunt perf` from the root of the Chassis directory.
43+
```
44+
$ grunt perf
45+
```
46+
47+
####DO NOT USE YOUR COMPUTER WHILE TESTS ARE RUNNING
48+
49+
When the tests complete go to [http://localhost:5984/css-performance/_design/site/index.html#/page-select](http://localhost:5984/css-performance/_design/site/index.html#/page-select) to view results
50+
51+
## Viewing the test pages
52+
53+
Follow the steps above to build. Once that is complete run `grunt connect:dev` from the root of the Chassis directory. This will start a connect server that will run until you stop it. Then go to http://localhost:4200/framework/{framework name}/component/{component name}/count/{ # of components to render}/ and you can see the generated test page.
54+

0 commit comments

Comments
 (0)