aboutcode-org / aboutcode-org/scancode-workbench

Suggestion to speed up initial JSON import

Ouverte
#355 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
performance
Langage dominant
TypeScript
Étoiles
173
Forks
81
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.