Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance optimizations #1764

Merged
merged 6 commits into from
Oct 13, 2020
Merged

Performance optimizations #1764

merged 6 commits into from
Oct 13, 2020

Commits on Oct 10, 2020

  1. Configuration menu
    Copy the full SHA
    4231e81 View commit details
    Browse the repository at this point in the history
  2. perf: initialize ajv validator only once

    This is a small performance improvement in which an ajv validator for the
    ng-package JSON schema is only compiled once. Additionally, the schema
    validation logic is refactored into its own file.
    JoostK committed Oct 10, 2020
    Configuration menu
    Copy the full SHA
    2b58b6a View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2020

  1. perf: short-circuit ngcc processing across entry-points

    This commit introduces a cache of which entry-points have already been
    processed by ngcc that is used across entry-points, to avoid the overhead
    of invoking ngcc repeatedly for all entry-points.
    JoostK committed Oct 13, 2020
    Configuration menu
    Copy the full SHA
    024416a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e003226 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5c2c418 View commit details
    Browse the repository at this point in the history
  4. fix: clear analysis cache to detect invalid imports in watch mode

    As the analysis file cache was previously never invalidated, any newly
    introduced imports would not be detected in the analysis phase. This could
    result in e.g. circular imports or self imports to go unnoticed during
    watch builds.
    JoostK committed Oct 13, 2020
    Configuration menu
    Copy the full SHA
    abeb197 View commit details
    Browse the repository at this point in the history