aboutcode-org / aboutcode-org/scancode-toolkit

Running scancode in a npm based repository takes long

Aperta
#2,478 18 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug performance
Lingua principale
Python
Stelle
2.6k
Fork
791
Merge medio
1g 12h
PR unite (30g)
5

Descrizione

### Description
* we want to include scancode in our pipeline but are running into timing issues
* scanning a code base with node_modules for a react / npm project is very slow (>5h).

### How To Reproduce
- npx create-react-app test
- install some more npm packages
- scancode -cl -n 4 --html-app /project/result.html /project

#### Small workaround
- we were able to reduce the time by including only text files (difficult to perform as the npm packages differ in structure / language and other types of files)

### System configuration
* running on macos (catalina/big sur)
* scancode version 21.3.31
* as an Application // scancode --help AND docker based

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.