tcosolutions/betterscan

Ability to see percentage progress of scan

Closed this issue · 3 comments

The web UI on http://localhost:5000 shows "Analysis in progress..." and a spinning symbol. Meanwhile the docker process started with start.sh is emitting hundreds of messages, although they seem to repeat a variation of themselves periodically.
This is a relatively small project although it has node_modules dependencies included in the repository so this may make it seem like more.
The PC running docker has plenty of RAM and cores.
The point is, will it take 10 minutes, 10 hours or 10 days, I have no idea?

Hi @macsplit

Exclusion of folders and better progress bars can be added (both to CLI and Platform in PRO version). Nice idea! I will add it do Product Backlog.

Now, in

  1. CLI

There is a progress bar for each 10 batch of file revisions (save state each 10 revisions - so you can restart when you stopped, it stopped), if you have 100 file revisions (100 files to scan), you will see 10 progress bars for each (each can last different amount of time)

  1. Web platform

Look in the "Log" tab. It will show you the current job log with progress, you can gauge on this.

i.e

[INFO / 2022-09-12 07:02:32] Analyzing 7 new file revisions (0 are already analyzed)
[INFO / 2022-09-12 07:02:32] Analyzing and saving: 0 - 7 (7 remaining)

If you see that 7 revision were made in a minute, you can guess that maybe 70 will be done in 10 minutes (could not be the case though)

Hope that helps.

P.S PRO version will be several times faster, up to 4 times faster.

If you have more questions, feature requests, want to use it professionally and want to work something out that you are happy and I am happy feel free to DM me.

Thanks,

Closing due to inactivity