question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Improve unzip time on Windows

See original GitHub issue

Current 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:open
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
kapil-sinhacommented, May 14, 2021

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?

0reactions
devsh4commented, Mar 26, 2020

@flotwig Yeah +1, in the interim caching the cypress binary should speed things up.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found