Closed wibblymat closed 10 years ago
Ouch :/ Some performance improvements would be really great here. Do we know how well it compares to the older solutions we decided not to opt for? I ask in case there are optimizations we can borrow.
@addyosmani I'll have a look at the other ones later but I know that node-unzip
just died altogether on this file (stack overflow).
I do have some ideas that should help a lot.
❯ time bower install extjs=http://cdn.sencha.com/ext/commercial/ext-4.2.1-commercial.zip
bower not-cached http://cdn.sencha.com/ext/commercial/ext-4.2.1-commercial.zip#*
bower resolve http://cdn.sencha.com/ext/commercial/ext-4.2.1-commercial.zip#*
bower download http://cdn.sencha.com/ext/commercial/ext-4.2.1-commercial.zip
bower extract extjs#* ext-4.2.1-commercial.zip
bower resolved http://cdn.sencha.com/ext/commercial/ext-4.2.1-commercial.zip#e-tag:5e5ef2426
bower install extjs#e-tag:5e5ef2426
extjs#e-tag:5e5ef2426 bower_components/extjs
real 0m54.756s
user 0m44.360s
sys 0m9.530s
And about half of that is download and install.
Decompress zip is slow. I mean, like, really slow.
For reference: