isomorphic-git: Browser freezing when cloning big repo
We discuss on gitter with @burningTyger about perfomence of Big repos, his was not working in electron (20MB) and mine was freezing (15MB) the browser tab (right click was not working) before I get message:
Counting objects: 12462, done.
Compressing objects: 100% (24/24), done.
Total 12462 (delta 28), reused 28 (delta 17), pack-reused 12421
next I’ve needed to wait a bit, but at least I could open dev tools and pause the script. It was not possible before emitter send messages. And the clone was successful (I’m using full clone right now).
the version is from unpkg.org CDN with 0.x.x
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 17 (17 by maintainers)
\r at the beginning of the message would be as good as parameter I could just use:
also I can add feature to jQuery Terminal that if string have \r at the beginning and no \n it will update last line, didn’t thought about this.
but I think that I can live without this feature, I can just use:
the same with new API I will use:
Web worker is much easier to manage then service worker.
I’ve often had luck shimming window in a worker. Something like this
would probably work. If not, making an official Worker wrapper is coming up on my todo list anyway. 😃
By coincidence, I discovered #294 today which would also speed up cloning tremendously.