angular-cn/modules/benchmarks
Greg Magolan 361109d80f build: update to rules_nodejs 0.32.2 (#31325)
Brings in ts_library fixes required to get angular/angular building after 0.32.0:
typescript: exclude typescript lib declarations in node_module_library transitive_declarations
typescript: remove override of @bazel/tsetse (+1 squashed commit)

@npm//node_modules/foobar:foobar.js labels changed to @npm//:node_modules/foobar/foobar.js with fix for bazelbuild/rules_nodejs#802

also updates to rules_rass commit compatible with rules_nodejs 0.32.0

PR Close #31325
2019-07-01 14:16:42 -07:00
..
e2e_test/old build: convert largeform benchmarks to bazel (#28645) 2019-02-13 12:15:01 -08:00
src build: update to rules_nodejs 0.32.2 (#31325) 2019-07-01 14:16:42 -07:00
BUILD.bazel build: update instructions to run benchmark tests (#28645) 2019-02-13 12:15:01 -08:00
README.md build: update instructions to run benchmark tests (#28645) 2019-02-13 12:15:01 -08:00
benchmark_test.bzl build: rules_nodejs 0.26.0 & use @npm instead of @ngdeps now that downstream angular build uses angular bundles (#28871) 2019-02-28 12:06:36 -08:00
start-server.js build: run tree benchmark tests with bazel (#28568) 2019-02-08 13:37:36 -08:00
tsconfig-build.json build: serve benchmark tree examples with bazel (#28568) 2019-02-08 13:37:36 -08:00
tsconfig-e2e.json build: convert largeform benchmarks to bazel (#28645) 2019-02-13 12:15:01 -08:00

README.md

How to run the benchmarks locally

Run in the browser

yarn bazel run modules/benchmarks/src/tree/{name}:devserver

# e.g. "ng2" tree benchmark:
yarn bazel run modules/benchmarks/src/tree/ng2:devserver

Run e2e tests

# Run e2e tests of individual applications:
yarn bazel test modules/benchmarks/src/tree/ng2/...

# Run all e2e tests:
yarn bazel test modules/benchmarks/...

Use of *_aot.ts files

The *_aot.ts files are used as entry-points within Google to run the benchmark tests. These are still built as part of the corresponding ng_module rule.