redhat-developer / alizer

⛔️ DEPRECATED - Application analyzer toolkit, use https://github.com/devfile/alizer instead
Apache License 2.0
12 stars 17 forks source link

skip excluded_folders when getting cached filepaths from root #210

Closed mike-hoang closed 1 year ago

mike-hoang commented 1 year ago

What does this PR do?

Uses the excluded_folders from languages-customization.yml to skip go vendor directories when getting the cached filepaths.

➜  alizer-testing time ./alizer-old component eventing-kafka-broker > old.log
./alizer-old component eventing-kafka-broker > old.log  5.91s user 0.87s system 104% cpu 6.514 total

➜  alizer-testing time ./alizer component eventing-kafka-broker > new.log
./alizer component eventing-kafka-broker > new.log  3.20s user 0.31s system 102% cpu 3.443 total

Which issue(s) this PR fixes:

fixes #208