srid/emanote

High memory usage on large notebooks

Ouverte

#66 ouverte le 16 juin 2021

 (1 commentaire) (1 réaction) (0 personne assignée)Haskell (78 forks)github user discovery
help wantedperformance

Métriques du dépôt

Stars
 (948 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

For this notebook,

~/Downloads/large 
❯ du -sh .
69M	.

~/Downloads/large 
❯ find . -name \*.md | wc -l
4561

Emanote takes ~4.7GB of resident memory. It takes a while (~1m) to load all these files at startup, and but runs fine afterwards. The @Index page is slow to render as well, but that should be addressed by use of sub-index'es as described in https://github.com/srid/emanote/discussions/50

Guide contributeur