angular/packages
Andrew Kushnir 24ca582bc5 perf(compiler): avoid copying from prototype while cloning an object (#31638)
This commit updates the `_clone` function of the `_ApplySourceSpanTransformer` class, where the for-in loop was used, resulting in copying from prototype to own properties, thus consuming more memory. Prior to NodeJS 12 (V8 versions before 7.4) there was an optimization that was improving the situation and since that logic was removed in favor of other optimizations, the situation with memory consumption caused by the for-in loop got worse. This commit adds a check to make sure we copy only own properties over to cloned object.

Closes #31627.

PR Close #31638
2019-07-23 15:49:30 -07:00
..
animations build: convert entry_point to label (#30627) 2019-06-11 00:03:11 +00:00
bazel fix(bazel): increase memory limit of ngc under bazel from 2 to 4 GB (#31784) 2019-07-22 12:14:14 -07:00
benchpress build: remove unreferenced tsconfig-build.json files (#30858) 2019-06-05 09:03:36 -07:00
common fix(ivy): ensure NgClass does not overwrite other dir data (#31788) 2019-07-22 16:56:27 -07:00
compiler perf(compiler): avoid copying from prototype while cloning an object (#31638) 2019-07-23 15:49:30 -07:00
compiler-cli fix(ivy): incorrect ChangeDetectorRef injected into pipes used in component inputs (#31438) 2019-07-23 15:46:23 -07:00
core test: update size-tracking golden for "core_all" bundling test (#31779) 2019-07-23 15:48:06 -07:00
docs refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
elements fix(elements): handle falsy initial value (#31604) 2019-07-18 14:26:37 -07:00
examples refactor: fix remaining typescript strict flag failures (#30993) 2019-07-18 14:21:25 -07:00
forms refactor: fix typescript strict flag failures in all tests (#30993) 2019-07-18 14:21:26 -07:00
http refactor: fix remaining typescript strict flag failures (#30993) 2019-07-18 14:21:25 -07:00
language-service refactor(language-service): Remove unused class and method (#31597) 2019-07-22 09:52:42 -07:00
platform-browser fix(platform-browser): debug element query predicates not compatible with strictFunctionTypes (#30993) 2019-07-18 14:21:26 -07:00
platform-browser-dynamic build: convert entry_point to label (#30627) 2019-06-11 00:03:11 +00:00
platform-server refactor: fix typescript strict flag failures in all tests (#30993) 2019-07-18 14:21:26 -07:00
platform-webworker refactor: fix remaining typescript strict flag failures (#30993) 2019-07-18 14:21:25 -07:00
platform-webworker-dynamic build: convert entry_point to label (#30627) 2019-06-11 00:03:11 +00:00
private/testing test(ivy): add onlyInIvy perf counter expectations (#30339) 2019-05-09 11:22:00 -07:00
router refactor: fix typescript strict flag failures in all tests (#30993) 2019-07-18 14:21:26 -07:00
service-worker refactor: fix typescript strict flag failures in all tests (#30993) 2019-07-18 14:21:26 -07:00
upgrade refactor: fix typescript strict flag failures in all tests (#30993) 2019-07-18 14:21:26 -07:00
zone.js refactor: ensure zone.js can be built with typescript strict flag (#30993) 2019-07-18 14:21:26 -07:00
BUILD.bazel refactor(core): ensure compatibility with typescript strict flag (#30993) 2019-07-18 14:21:25 -07:00
empty.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
goog.d.ts fix(ivy): use goog.LOCALE for Closure Compiler to define default LOCALE_ID (#31519) 2019-07-16 13:02:10 -04:00
license-banner.txt build: bump year (#27880) 2019-01-11 11:15:59 -08:00
README.md Revert "docs: Remove unneeded file (#18106)" 2017-07-20 16:46:47 -05:00
system.d.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
tsconfig-build-no-strict.json refactor(core): ensure compatibility with typescript strict flag (#30993) 2019-07-18 14:21:25 -07:00
tsconfig-build.json refactor(core): ensure compatibility with typescript strict flag (#30993) 2019-07-18 14:21:25 -07:00
tsconfig-test.json refactor: fix typescript strict flag failures in all tests (#30993) 2019-07-18 14:21:26 -07:00
tsconfig.json refactor: fix typescript strict flag failures in all tests (#30993) 2019-07-18 14:21:26 -07:00
types.d.ts build: switch to typescript's es2015 typings (#28570) 2019-02-06 14:17:55 -05:00

Angular

The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.

License: MIT