angular-cn/scripts/ci/perf_launch_chrome.sh
Tobias Bosch 561ad3a68c refactor(build): support multiple configurable browsers for e2e and perf tests
Also includes browser configuration for Android
2015-01-20 13:06:37 -08:00

14 lines
464 B
Bash
Executable File

#!/bin/bash
platform=`uname`
if [[ "$platform" == 'Linux' ]]; then
`google-chrome --js-flags="--expose-gc"`
elif [[ "$platform" == 'Darwin' ]]; then
`/Applications/Google\ Chrome\ Canary.app/Contents/MacOS/Google\ Chrome\ Canary \
--enable-memory-info \
--enable-precise-memory-info \
--enable-memory-benchmarking \
--js-flags="--expose-gc --allow-natives-syntax" \
--disable-web-security \
--remote-debugging-port=9222`
fi