fossa-cli icon indicating copy to clipboard operation
fossa-cli copied to clipboard

fossa analyze incredibly slow on mac intel

Open dej611 opened this issue 3 years ago • 3 comments

Since upgrading to 3.0.4 from previous version 2 the tool became incredibly slow to run locally on my mac. I'm using it also on the CI and it seems to work fine.

Mac specs: OSX 10.15.7 (19H114) 2,3 GHz Dual-Core Intel Core i5 8 GB 2133 MHz LPDDR3

I'm using it in a npm repository with a very limited number of files to track. Since migrating the config to v.3 it fails on the CI (will open a different issue) and takes forever locally to run.

With version 2 a fossa analyze execution will take less than a minute. With version 3 a fossa analyze execution takes tens of minutes to complete, and all time spent on languages not even in the repository.

dej611 avatar Nov 25 '21 07:11 dej611

@dej611 is this the same as https://github.com/fossas/fossa-cli/issues/750 ?

I find it to be a major problem with the design of fossa version 3.

thernstig avatar Jan 08 '22 10:01 thernstig

I might, but while on the CI it was working slowly, on Mac Intel it just runs forever with no console feedback. In #750 I see some tasks being performed, but I see none for this issue.

dej611 avatar Jan 08 '22 18:01 dej611

HI, @dej611 are you still seeing this issue? We closed the issue, #750, mentioned above and have consistently been working on performance improvements. If so, can you send the fossa.debug.json file generated by running fossa analyze --debug? You can send it to [email protected].

zlav avatar May 11 '22 02:05 zlav