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 = {
23
23
} ,
24
24
} ,
25
25
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
+
26
35
location : {
27
36
name : "location" ,
28
37
key : "l" ,
Original file line number Diff line number Diff line change 2
2
"name" : " webpagetest" ,
3
3
"version" : " 0.5.1" ,
4
4
"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" ,
7
7
"keywords" : [
8
8
" webpagetest" ,
9
9
" api" ,
14
14
"license" : " MIT" ,
15
15
"repository" : {
16
16
"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"
18
19
},
19
20
"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"
21
23
},
22
24
"main" : " lib/webpagetest.js" ,
23
25
"bin" : " bin/webpagetest" ,
Original file line number Diff line number Diff line change @@ -88,6 +88,7 @@ Options:
88
88
specifying a custom connectivity profile)
89
89
-U, --bwup <bandwidth> upload bandwidth in Kbps (used when
90
90
specifying a custom connectivity profile)
91
+ -thc, --cputhrottle <number> Custom cpu throttling
91
92
-bw, --browserwidth <pixels> Browser window width (in display pixels)
92
93
-bh, --browserheight <pixels> Browser window height (in display pixels)
93
94
-vh, --viewportheight <pixels> Viewport Height in css pixels
You can’t perform that action at this time.
0 commit comments