aboutcode-org / aboutcode-org/scancode-workbench

Suggestion to speed up initial JSON import

Aberta
#355 0 comentários 0 reações 0 responsáveis Ver no GitHub
performance
Linguagem predominante
TypeScript
Estrelas
173
Forks
81
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.