mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
The way the benchmarking code is used and wired up in g3 is rather magical. This change makes it easier to sync into g3 by using conditional blocks, and also consistnetly using a single bundle name (like it was before— we regressed here as part of the ESM initial changes- but now with clear comments, it's more future-proof..) PR Close #48521 |
||
|---|---|---|
| .. | ||
| change_detection | ||
| class_bindings | ||
| expanding_rows | ||
| js-web-frameworks | ||
| largeform | ||
| largetable | ||
| old | ||
| styling | ||
| tree | ||
| views | ||
| BUILD.bazel | ||
| README.md | ||
| util.ts | ||
Benchmark Directory Layout
Bazel
Under bazel the rules for laying out test files are slightly different. Use largetable/render3 as an example.
Put the perf file in current subdirectory (ie largetable) such that the same perf file can be used for each of the sub-subdirectories. (ie largetable/* should all be testable with the same perf file largetable/largetable_perf.spec.ts). Under bazel, typescript protractor spec files must end with .spec.ts or .test.ts.