benchmark(compiler): add a benchmark measuring view instantiation in AngularDart 1.0

This commit is contained in:
vsavkin
2014-11-17 20:47:05 -08:00
parent c6f14dd833
commit 6187b80ce6
17 changed files with 541 additions and 42 deletions

View 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