Improve unzip time on Windows
See original GitHub issueCurrent behavior:
Windows uses a Node.js-based method to unzip the Cypress binary during cypress install
, which is fairly slow.
Desired behavior:
Windows uses some faster method, like the native win32 zip APIs, to unzip the Cypress binary during cypress install
, only falling back to the Node.js unzip method if the faster method fails.
Related:
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Why does WinZip unzip files extremely slowly? - Jozsef Torsan
A reason of the extremely slow unzipping on Windows can be Defender that runs in the background and scans each file. This usually...
Read more >Extracting files from zipped folder is very slow
While extracting the files from the zipped folder, the speed is only 5-6 KBps and shows that it'll take more than 8 hours....
Read more >Why Does WinZip Unzip Files So Slowly? (Solved!)
If you are extracting files from a zipped archive to the same drive on which the archive is stored, the process will slow...
Read more >How to speed up extraction time for compressed rar files
You can't reduce your extraction time by much. Extraction speed depends on the compression ratio of the file, your processor and your hard...
Read more >Unzip too slow for transfer of many files - Stack Overflow
We need to distribute lots of small jpg files to offline systems. Right now, we send it as a 7zip (or plain zip)...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
this issue is still there. no caching helps - node modules are cached ($(Pipeline.Workspace)\s\e2e\node_modules), cypress binaries are cached from the cypress cache folder (C:\Users\VssAdministrator\AppData\Local\Cypress\Cache). But npm ci still tries to install cypress which is nothing but cypress for me and it takes long - 25l[19:57:59] Downloading Cypress [started] [19:58:02] Downloading Cypress [completed] [19:58:02] Unzipping Cypress [started] [20:02:27] Unzipping Cypress [completed] [20:02:27] Finishing Installation [started] [20:02:27] Finishing Installation [completed] 25h
Is there another faster way to install cypress on my build agent (.NET fwk app on windows and azuredevops for CI) and run tests?
@flotwig Yeah +1, in the interim caching the cypress binary should speed things up.