new browsertime
This commit is contained in:
parent
ef2a6ff8a9
commit
8823358e44
|
|
@ -78,7 +78,7 @@ function runWebPageReplay() {
|
|||
record_pid=$!
|
||||
sleep $RECORD_WAIT
|
||||
|
||||
execNode $BROWSERTIME --browsertime.chrome.args host-resolver-rules="MAP *:$HTTP_PORT 127.0.0.1:$WPR_HTTP_PORT,MAP *:$HTTPS_PORT 127.0.0.1:$WPR_HTTPS_PORT,EXCLUDE localhost" --browsertime.firefox.preference network.dns.forceResolve:127.0.0.1 --browsertime.connectivity.engine throttle --browsertime.connectivity.throttle.localhost --browsertime.connectivity.profile custom --browsertime.connectivity.latency $LATENCY "$@"
|
||||
execNode $BROWSERTIME --browsertime.chrome.webPageReplayHostResolver --browsertime.chrome.webPageReplayHTTPPort $WPR_HTTP_PORT --browsertime.chrome.webPageReplayHTTPSPort $WPR_HTTPS_PORT --browsertime.chrome.webPageReplayRecord true --browsertime.firefox.preference network.dns.forceResolve:127.0.0.1 --browsertime.connectivity.engine throttle --browsertime.connectivity.throttle.localhost --browsertime.connectivity.profile custom --browsertime.connectivity.latency $LATENCY "$@"
|
||||
RESULT+=$?
|
||||
|
||||
kill -2 $record_pid
|
||||
|
|
@ -94,7 +94,7 @@ function runWebPageReplay() {
|
|||
|
||||
if [ $? -eq 0 ]
|
||||
then
|
||||
execNode --max-old-space-size=$MAX_OLD_SPACE_SIZE $SITESPEEDIO --browsertime.firefox.preference security.OCSP.enabled:0 --browsertime.firefox.preference network.dns.forceResolve:127.0.0.1 --browsertime.chrome.args host-resolver-rules="MAP *:$HTTP_PORT 127.0.0.1:$WPR_HTTP_PORT,MAP *:$HTTPS_PORT 127.0.0.1:$WPR_HTTPS_PORT,EXCLUDE localhost" --browsertime.connectivity.engine throttle --browsertime.connectivity.throttle.localhost --replay --browsertime.connectivity.profile custom --browsertime.connectivity.rtt $LATENCY "$@" &
|
||||
execNode --max-old-space-size=$MAX_OLD_SPACE_SIZE $SITESPEEDIO --browsertime.firefox.preference security.OCSP.enabled:0 --browsertime.firefox.preference network.dns.forceResolve:127.0.0.1 --browsertime.chrome.webPageReplayHostResolver --browsertime.chrome.webPageReplayHTTPPort $WPR_HTTP_PORT --browsertime.chrome.webPageReplayHTTPSPort $WPR_HTTPS_PORT --browsertime.connectivity.engine throttle --browsertime.connectivity.throttle.localhost --replay --browsertime.connectivity.profile custom --browsertime.connectivity.rtt $LATENCY "$@" &
|
||||
|
||||
PID=$!
|
||||
|
||||
|
|
|
|||
|
|
@ -1091,9 +1091,9 @@
|
|||
}
|
||||
},
|
||||
"browsertime": {
|
||||
"version": "12.0.0-alpha.5",
|
||||
"resolved": "https://registry.npmjs.org/browsertime/-/browsertime-12.0.0-alpha.5.tgz",
|
||||
"integrity": "sha512-WG0ImCdiLQ+OSA4tO44XZRozu3V5s98NojYZ8dPkO02ne9k9winq0rBkcxYtTXkpbV4nTTrHCiBmx4Gz/jQbjA==",
|
||||
"version": "12.0.0-alpha.6",
|
||||
"resolved": "https://registry.npmjs.org/browsertime/-/browsertime-12.0.0-alpha.6.tgz",
|
||||
"integrity": "sha512-spqEbLOWww2SP/2aelvf1oW9D+SMudnw8dMVXgIY/dnmEHMBgVjmBXHRwD2kx1KgUyKCdtk/gP2DUnj7oMxS6g==",
|
||||
"requires": {
|
||||
"@cypress/xvfb": "1.2.4",
|
||||
"@devicefarmer/adbkit": "2.11.3",
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@
|
|||
"@tgwf/co2": "0.6.1",
|
||||
"aws-sdk": "2.784.0",
|
||||
"axe-core": "4.1.4",
|
||||
"browsertime": "12.0.0-alpha.5",
|
||||
"browsertime": "12.0.0-alpha.6",
|
||||
"coach-core": "6.1.0",
|
||||
"cli-color": "2.0.0",
|
||||
"concurrent-queue": "7.0.2",
|
||||
|
|
|
|||
Loading…
Reference in New Issue