aboutcode-org / aboutcode-org/scancode-toolkit

Running scancode in a npm based repository takes long

Đang mở
#2,478 18 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug performance
Ngôn ngữ chính
Python
Star
2.6k
Fork
791
Merge trung bình
1 ngày 12 giờ
Pull request đã merge (30 ngày)
5

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.