benchmark(compiler): add a benchmark measuring view instantiation in AngularDart 1.0
This commit is contained in:
13
scripts/perf_launch_chrome.sh
Normal file
13
scripts/perf_launch_chrome.sh
Normal file
@ -0,0 +1,13 @@
|
||||
#!/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" \
|
||||
--remote-debugging-port=9222`
|
||||
fi
|
Reference in New Issue
Block a user