angular-docs-cn/modules/benchmarks
Tobias Bosch c377e80670 chore: format benchmarks
closes #11112
2016-08-29 12:43:25 -07:00
..
e2e_test chore: format benchmarks 2016-08-29 12:43:25 -07:00
src chore: format benchmarks 2016-08-29 12:43:25 -07:00
README.md refactor(benchmarks): make tree benchmark work again 2016-08-29 12:42:57 -07:00
favicon.ico refactor(benchmarks): make tree benchmark work again 2016-08-29 12:42:57 -07:00

README.md

How to run the benchmarks locally

Run in the browser

$ build.sh $ cp -r ./modules/benchmarks ./dist/all/ $ ./node_modules/.bin/tsc -p modules --emitDecoratorMetadata -w $ gulp serve $ open http://localhost:8000/all/benchmarks/src/tree/ng2/index.html?bundles=false

Run e2e tests

export NODE_PATH=(pwd)/dist/all:$(pwd)/dist/tools $ ./node_modules/.bin/protractor protractor-js-new-world.conf.js --specs=dist/all/benchmarks/e2e_test/tree_perf.js