angular/packages/bazel
Jan Kuehle 7efa09b401 perf(bazel): use allowedInputs to avoid fs.stat (#46069)
Call tsc_wrapped's fileExists function instead of TypeScript's.

tsc_wrapped (used internally by ngc-wrapped) has an optimization under
bazel to avoid file system calls where possible. It takes advantage
bazelOpts.allowedInputs, which contains a list of all files available
for compilation.

File system calls can be quite slow depending on the file system. In
google3 I saw a 38 seconds compilation, which spent 6 seconds just doing
fs.stat calls during module resolution. Those fs.stat calls are entirely
gone after with this change.

PR Close #46069
2022-05-24 10:39:17 -07:00
..
docs refactor(bazel): remove old Angular CLI schematics and builder (#41575) 2021-04-13 13:01:59 -07:00
src perf(bazel): use allowedInputs to avoid fs.stat (#46069) 2022-05-24 10:39:17 -07:00
test build(bazel): change ngc-wrapped to use new bazelOpts.devmode (#45804) 2022-05-02 13:10:06 -07:00
third_party/github.com/bazelbuild/bazel/src/main/protobuf build: upgrade angular build, integration/bazel and @angular/bazel package to rule_nodejs 2.2.0 (#39182) 2020-10-08 11:54:59 -07:00
BUILD.bazel feat(bazel): speed up dev-turnaround by bundling types only when packaging (#45405) 2022-04-21 11:09:39 -07:00
index.bzl feat(bazel): speed up dev-turnaround by bundling types only when packaging (#45405) 2022-04-21 11:09:39 -07:00
package.json build: update all non-major dependencies (#45967) 2022-05-20 14:18:09 -07:00