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

Merged
merged 2 commits into from
Nov 19, 2024

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 e808296
🔍 Latest deploy log https://app.netlify.com/sites/analog-blog/deploys/673c9803a7da37000867c420
😎 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 e808296
🔍 Latest deploy log https://app.netlify.com/sites/analog-docs/deploys/673c980394dbd10008500fe4
😎 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 e808296
🔍 Latest deploy log https://app.netlify.com/sites/analog-app/deploys/673c9803d677a700081b1f7b
😎 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 e808296
🔍 Latest deploy log https://app.netlify.com/sites/analog-ng-app/deploys/673c9803ee4d440008908944
😎 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.

Co-authored-by: Brandon Roberts <robertsbt@gmail.com>
@brandonroberts brandonroberts merged commit a7f4587 into analogjs:beta Nov 19, 2024
24 checks passed
@brandonroberts
Copy link
Member

Published in 1.9.5-beta.1

yjaaidi added a commit to yjaaidi/experiments that referenced this pull request Nov 19, 2024
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.

2 participants