You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 11, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+25Lines changed: 25 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -27,3 +27,28 @@ Once you've cloned Chassis to your machine, run `npm install` and `grunt build`
27
27
$ npm install
28
28
$ grunt build
29
29
```
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.
0 commit comments