meteor-feature-requests icon indicating copy to clipboard operation
meteor-feature-requests copied to clipboard

Better progress bars for updates, installs, and builds

Open wreiske opened this issue 4 years ago • 2 comments

It would be nice if the progress indicators were more verbose, possibly showing a percent complete for tasks that it can predict (such as download sizes), or more general show the stage it is on for things like building (step 1 of 10).

Currently updating to 1.10.1 on a mac is very quick, but on windows, it takes much longer. image

I have gigabit internet, 64gb of ram, Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz, solid-state drives, etc.... it still just sits there on the above screenshot for what feels like forever.

https://www.npmjs.com/package/cli-progress has some pretty awesome progress bars. It would be interesting to include this type of functionality into meteor.

The following progress bar shouldn't be too difficult for things like downloading packages and upgrading meteor. The total bundle size should be known or could be pulled before downloads start via some sort of JSON API with the package information. Once the download starts, it could calculate how many bytes it's transferred so far, rate, etc...

example

For multi-threaded tasks, possibly fetching all packages/dependencies for a project, or maybe even build steps that can be run in parallel, the following may be useful. example 2

wreiske avatar Mar 17 '20 01:03 wreiske

I have updated the internal dependencies for Meteor 2.0, so adding this should be now a bit more easier.

StorytellerCZ avatar Mar 30 '21 11:03 StorytellerCZ

Just installed meteor on a fresh computer and it's been sitting at this for over an hour....

image

No CPU, no disk IO, just... sitting there. Not sure how to do an strace on windows to debug it, maybe I'll get ambitious later and look deeper or try with --verbose / --debug if those options exist.

wreiske avatar Apr 01 '21 19:04 wreiske