aboutcode-org / aboutcode-org/scancode-workbench

Suggestion to speed up initial JSON import

未關閉
#355 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
performance
主要語言
TypeScript
星號
173
分支
81
PR 合併指標
30 天內沒有已合併 PR

描述

### Description
When I import a JSON file, I noted that the sqlite DB file seems to be flushed on disk incrementally and I can see the sqlite file grow as the import goes.
I have an idea: if you import to a memory only database and once this is all imported and only then you save on disk this may speed things up? this may be worth a try

### System configuration
**Operating System**:
Linux Ubuntu 16.04 x86_64

**ScanCode Workbench Version**:
3.0.0b2

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

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

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