Skip to content

Commit c8f0552

Browse files
committed
bumped version, updated dependencies and README
1 parent c028153 commit c8f0552

2 files changed

Lines changed: 14 additions & 5 deletions

File tree

README.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,13 @@ _The default WPT server can also be specified via environment variable `WEBPAGET
119119
* **-e, --request** _\<id\>_: echo request ID, useful to track asynchronous requests
120120

121121
#### Results (works for **results** and **test** commands)
122-
* **--median** _\<metric\>_: set the metric used to calculate median for multiple runs tests [loadTime]
123-
* **--specs** _\<json_or_file\>_: set the specs for performance test suite
124-
* **--reporter** _\<name\>_: set performance test suite reporter output: [dot]|spec|tap|xunit|list|progress|min|nyan|landing|json|doc|markdown|teamcity
122+
* **-b, --breakdown**: include the breakdown of requests and bytes by mime type
123+
* **-D, --domains**: include the breakdown of requests and bytes by domain
124+
* **-p, --pagespeed**: include the PageSpeed score in the response (may be slower)
125+
* **-R, --requests**: include the request data in the response (slower and results in much larger responses)
126+
* **-m, --median** _\<metric\>_: set the metric used to calculate median for multiple runs tests [loadTime]
127+
* **-S, --specs** _\<json_or_file\>_: set the specs for performance test suite
128+
* **-r, --reporter** _\<name\>_: set performance test suite reporter output: [dot]|spec|tap|xunit|list|progress|min|nyan|landing|json|doc|markdown|teamcity
125129

126130
#### Run (works for **pagespeed**, **utilization**, **request**, **timeline**, **netlog**, **console**, **waterfall** and **screenshot** commands)
127131
* **-r, --run** _\<number\>_: which run number on a multiple runs test [1]
@@ -411,6 +415,10 @@ wpt.runTest(script, function(err, data) {
411415
* **requestId**: _String_, echo request ID, useful to track asynchronous requests
412416

413417
#### Results (works for **getResults** and **runTest** methods)
418+
* **breakDown**: _Boolean_, include the breakdown of requests and bytes by mime type
419+
* **domains**: _Boolean_, include the breakdown of requests and bytes by domain
420+
* **pageSpeed**: _Boolean_, include the PageSpeed score in the response (may be slower)
421+
* **requests**: _Boolean_, include the request data in the response (slower and results in much larger responses)
414422
* **medianMetric**: _String_, set the metric used to calculate median for multiple runs tests (default: loadTime)
415423
* **specs**: _String_, set the specs for performance test suite
416424
* **reporter**: _String_, set performance test suite reporter output: [dot]|spec|tap|xunit|list|progress|min|nyan|landing|json|doc|markdown|teamcity
@@ -597,6 +605,7 @@ $ npm test
597605

598606
## Changelog
599607

608+
* 0.1.3: Test results extra data (breakdown, domains, requests, pagespeed)
600609
* 0.1.0: Specs (CI); Run in batch; Node methods/options as command aliases; new Chrome test options
601610
* 0.0.4: Sync test with results via `--poll` or `--wait`
602611
* 0.0.3: Custom test results median metric; Custom waterfall; new Chrome test options

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "webpagetest",
3-
"version": "0.1.2",
3+
"version": "0.1.3",
44
"description": "WebPageTest API wrapper for NodeJS",
55
"author": "Marcel Duran <github@marcelduran.com> (http://github.com/marcelduran)",
66
"homepage": "http://github.com/marcelduran/webpagetest-api",
@@ -34,7 +34,7 @@
3434
},
3535
"dependencies": {
3636
"jsonml": "~0.0.4",
37-
"commander": "~1.3.0",
37+
"commander": "~1.3.2",
3838
"mocha": "~1.12.0"
3939
},
4040
"devDependencies": {

0 commit comments

Comments
 (0)