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

perf(vite-plugin-angular): speed up tests by reusing compiler #1444

Open
wants to merge 1 commit into
base: beta
Choose a base branch
from

Conversation

yjaaidi
Copy link
Contributor

@yjaaidi yjaaidi commented Nov 18, 2024

PR Checklist

The current plugin creates a new compiler for each test file, thus slowing down tests.

P.S.: I am willing to add some performance tests but let's discuss the strategy first 😊

What is the new behavior?

This PR speeds up tests considerably (3x to 10x)

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

[optional] What gif best describes this PR or how it makes you feel?

Copy link

netlify bot commented Nov 18, 2024

Deploy Preview for analog-blog ready!

Name Link
🔨 Latest commit dae5c6f
🔍 Latest deploy log https://app.netlify.com/sites/analog-blog/deploys/673b713c7f67cb000925d8f9
😎 Deploy Preview https://deploy-preview-1444--analog-blog.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Nov 18, 2024

Deploy Preview for analog-docs ready!

Name Link
🔨 Latest commit dae5c6f
🔍 Latest deploy log https://app.netlify.com/sites/analog-docs/deploys/673b713ce468160008452df7
😎 Deploy Preview https://deploy-preview-1444--analog-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Nov 18, 2024

Deploy Preview for analog-app ready!

Name Link
🔨 Latest commit dae5c6f
🔍 Latest deploy log https://app.netlify.com/sites/analog-app/deploys/673b713cd9804b0008b5b5b9
😎 Deploy Preview https://deploy-preview-1444--analog-app.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@yjaaidi
Copy link
Contributor Author

yjaaidi commented Nov 18, 2024

#1443 is an even better alternative.

Copy link

netlify bot commented Nov 18, 2024

Deploy Preview for analog-ng-app ready!

Name Link
🔨 Latest commit dae5c6f
🔍 Latest deploy log https://app.netlify.com/sites/analog-ng-app/deploys/673b713c09f662000845d593
😎 Deploy Preview https://deploy-preview-1444--analog-ng-app.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant