aboutcode-org / aboutcode-org/scancode-workbench

Suggestion to speed up initial JSON import

Aperta
#355 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
performance
Lingua principale
TypeScript
Stelle
173
Fork
81
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.