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

Improve startup time of Cypress and reduce time to dl/unzip #18480

Closed
jennifer-shehane opened this issue Oct 13, 2021 · 2 comments · Fixed by #24295
Closed

Improve startup time of Cypress and reduce time to dl/unzip #18480

jennifer-shehane opened this issue Oct 13, 2021 · 2 comments · Fixed by #24295
Assignees
Labels
Epic Requires breaking up into smaller issues topic: installation Issue during installation or downloading Cypress topic: opening cypress 🐛 type: enhancement Requested enhancement of existing feature

Comments

@jennifer-shehane
Copy link
Member

jennifer-shehane commented Oct 13, 2021

What would you like?

  • Instant startup time of cypress open and cypress run.
  • Reduce unzip time during downloading Cypress

Why is this needed?

This will improve the test timing of all users as well as our internal development time since we use Cypress to test Cypress itself.

Other

  • Bundle all the modules in the app into an Electron snapshot which means they're already loaded in memory.
  • Intermediate stage for transpiling the TS files - much faster than it's done now. When we build the binary - we transpile to JS - so we want to do on the fly transpilation to do that.
  • May be released for Mac/Linux first, Windows to follow.

Tech brief here: https://github.com/cypress-io/tech-briefs/tree/main/briefs/startup-performance

Timeline of Work

First Release with Estimates

@cypress-bot
Copy link
Contributor

cypress-bot bot commented Nov 1, 2022

The code for this is done in cypress-io/cypress#24295, but has yet to be released.
We'll update this issue and reference the changelog when it's released.

@cypress-bot
Copy link
Contributor

cypress-bot bot commented Nov 10, 2022

Released in 11.0.0.

This comment thread has been locked. If you are still experiencing this issue after upgrading to
Cypress v11.0.0, please open a new issue.

@cypress-bot cypress-bot bot locked as resolved and limited conversation to collaborators Nov 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Epic Requires breaking up into smaller issues topic: installation Issue during installation or downloading Cypress topic: opening cypress 🐛 type: enhancement Requested enhancement of existing feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants