aboutcode-org / aboutcode-org/scancode-toolkit

Running scancode in a npm based repository takes long

未關閉
#2,478 18 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
bug performance
主要語言
Python
星號
2.6k
分支
791
平均合併
1 天 12 小時
30 天內合併 PR
5

描述

### 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

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。