aboutcode-org / aboutcode-org/purldb
Performance issue with api/collect endpoint
未關閉
- 主要語言
- HTML
- 星號
- 67
- 分支
- 69
- 平均合併
- 8 天 8 小時
- 30 天內合併 PR
- 1
描述
Cross-posting from [here](https://github.com/oss-review-toolkit/ort/issues/10258#issuecomment-2862846296) for visibility, querying https://public.purldb.io/api/collect/?purl=pkg:npm/asdf@1.0.2 takes close to 30s (for getting a 4k JSON response):
```
$ time curl https://public.purldb.io/api/collect/?purl=pkg:npm/asdf@1.0.2
...
real 0m27.074s
user 0m0.020s
sys 0m0.018s
```
which seems to be extremely slow. For our use-case to speed up ORT scans by retrieving existing scan results for packages, this is problematic.
Is this kind of performance expected? Is there any way to speed things up?
貢獻指南
這個儲存庫沒有索引到貢獻指南
評估
這個 Issue 還沒有評估資料。