mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
This commit inlines the `isFactory` function body directly within `getNodeInjectable` because it is only used once. ESBuild does not inline its body within the function, which can be observed when running the build with `NG_BUILD_MANGLE=0`. The results after inlining are as follows: ``` getNodeInjectable x 70,397,377 ops/sec ±3.88% (52 runs sampled) getNodeInjectable_inlined x 77,834,432 ops/sec ±3.13% (60 runs sampled) ``` PR Close #59824 |
||
|---|---|---|
| .. | ||
| global | ||
| primitives | ||
| rxjs-interop | ||
| schematics | ||
| src | ||
| test | ||
| testing | ||
| BUILD.bazel | ||
| index.ts | ||
| package.json | ||
| PACKAGE.md | ||
| public_api.ts | ||