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 摘要。