File tree Expand file tree Collapse file tree 3 files changed +16
-4
lines changed
test/fixtures/command-line Expand file tree Collapse file tree 3 files changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,15 @@ var options = {
2323 } ,
2424 } ,
2525 test : {
26+ //new throttle_cpu
27+ cputhrottle : {
28+ name : "cputhrottle" ,
29+ key : "thc" ,
30+ api : "throttle_cpu" ,
31+ param : "number" ,
32+ info : "custom cpu throttling" ,
33+ } ,
34+
2635 location : {
2736 name : "location" ,
2837 key : "l" ,
Original file line number Diff line number Diff line change 22 "name" : " webpagetest" ,
33 "version" : " 0.5.1" ,
44 "description" : " WebPageTest API wrapper for NodeJS" ,
5- "author" : " WebPageTest <github@WebPageTest .com> (http://github.com/WebPageTest )" ,
6- "homepage" : " http://github.com/WebPageTest /webpagetest-api" ,
5+ "author" : " Siddhantshukla814 <github@Siddhantshukla814 .com> (http://github.com/Siddhantshukla814 )" ,
6+ "homepage" : " http://github.com/Siddhantshukla814 /webpagetest-api" ,
77 "keywords" : [
88 " webpagetest" ,
99 " api" ,
1414 "license" : " MIT" ,
1515 "repository" : {
1616 "type" : " git" ,
17- "url" : " git://github.com/WebPageTest/webpagetest-api.git"
17+ "url" : " git://github.com/WebPageTest/webpagetest-api.git" ,
18+ "url" : " http://github.com/Siddhantshukla814/webpagetest-api"
1819 },
1920 "bugs" : {
20- "url" : " http://github.com/WebPageTest/webpagetest-api/issues"
21+ "url" : " http://github.com/WebPageTest/webpagetest-api/issues" ,
22+ "url" : " http://github.com/Siddhantshukla814/webpagetest-api/issues"
2123 },
2224 "main" : " lib/webpagetest.js" ,
2325 "bin" : " bin/webpagetest" ,
Original file line number Diff line number Diff line change @@ -88,6 +88,7 @@ Options:
8888 specifying a custom connectivity profile)
8989 -U, --bwup <bandwidth> upload bandwidth in Kbps (used when
9090 specifying a custom connectivity profile)
91+ -thc, --cputhrottle <number> Custom cpu throttling
9192 -bw, --browserwidth <pixels> Browser window width (in display pixels)
9293 -bh, --browserheight <pixels> Browser window height (in display pixels)
9394 -vh, --viewportheight <pixels> Viewport Height in css pixels
You can’t perform that action at this time.
0 commit comments