Doing GUI calls is a notorious way to slow down apps. I sped up an app (major software from major large corporation) by a factor of 10x a few years back by removing GUI updates. What you have to do is create a thread that refreshes the GUI periodically and not let your main worker thread ever work on the GUI. This particular app was an Eclipse Plugin (a source control app) and the Eclipse SWT to update the console lo…
This strategy is also encouraged by best iOS development practices (main thread never works on GUI). Edit: 'main' as in the one doing the one doing the work, in the same spirit of the original post. In truth, the true main thread that runs in main() is where all the iOS GUI work happens. Apologies for the confusing wording.
Disabling npm's progress bar yields a 2x npm install speed improvement
91–100 of 187 posts
Re: Disabling npm's progress bar yields a 2x npm install speed improvement
#92Earlier quoted context omitted.
How is this unhelpful exactly? It's a link to another discussion that readers might be interested in.
Op was stating you shouldn't follow that link and go "Hey, me too" or "+1" on the Github Issue. Not that the link to the issue was unhelpful.
Re: Disabling npm's progress bar yields a 2x npm install speed improvement
#93Earlier quoted context omitted.
That's frustrating, I got bitten by that a couple of times. I'm wondering when will they add a LOCKFILE like every other build system out there :'(
I agree, but I'm curious what other build systems have a lock file? Ruby does through bundler, who else does this right? I can't think of any.
Re: Disabling npm's progress bar yields a 2x npm install speed improvement
#94Earlier quoted context omitted.
This strategy is also encouraged by best iOS development practices (main thread never works on GUI). Edit: 'main' as in the one doing the one doing the work, in the same spirit of the original post. In truth, the true main thread that runs in main() is where all the iOS GUI work happens. Apologies for the confusing wording.
This is backward. Since UIKit is single threaded, the main thread must work on GUI: the best practice is that nothing except GUI work should happen there.
Re: Disabling npm's progress bar yields a 2x npm install speed improvement
#95Earlier quoted context omitted.
Heh, just "ied" will give you this: https://en.wikipedia.org/wiki/Improvised_explosive_device "ied package manager" works, though.
Normally, I am not a fan of replacing words in the search engine with computer science stuff (think AJAX), but I can accept computer words replacing words that symbolize violence.
My father works with jewelry. Last week while visiting him, I did in fact search for the term "Ruby" on his computer in his normal browser, and even though he was also logged out, I wasn't able to find one result dealing with the programming language on the first two pages.
Re: Disabling npm's progress bar yields a 2x npm install speed improvement
#96Doing GUI calls is a notorious way to slow down apps. I sped up an app (major software from major large corporation) by a factor of 10x a few years back by removing GUI updates. What you have to do is create a thread that refreshes the GUI periodically and not let your main worker thread ever work on the GUI. This particular app was an Eclipse Plugin (a source control app) and the Eclipse SWT to update the console lo…
This strategy is also encouraged by best iOS development practices (main thread never works on GUI). Edit: 'main' as in the one doing the one doing the work, in the same spirit of the original post. In truth, the true main thread that runs in main() is where all the iOS GUI work happens. Apologies for the confusing wording.
Re: Disabling npm's progress bar yields a 2x npm install speed improvement
#97Earlier quoted context omitted.
I'm not sure "IED" is the best acronym to go for, either: https://en.wikipedia.org/wiki/Improvised_explosive_device
It gets brought up on a regular basis. Thought it was going to be renamed to `nom` but apparently not. https://github.com/alexanderGugel/ied/pull/45#issuecomment-1... > Thanks, but I'm not going to rename this project anytime soon.
Re: Disabling npm's progress bar yields a 2x npm install speed improvement
#98Re: Disabling npm's progress bar yields a 2x npm install speed improvement
#99Doing GUI calls is a notorious way to slow down apps. I sped up an app (major software from major large corporation) by a factor of 10x a few years back by removing GUI updates. What you have to do is create a thread that refreshes the GUI periodically and not let your main worker thread ever work on the GUI. This particular app was an Eclipse Plugin (a source control app) and the Eclipse SWT to update the console lo…