summaryrefslogtreecommitdiff
path: root/docs/performance.org
blob: 3d2df8a743b393df80edf77cbde8bd6edb8f6c66 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#+TITLE: Performance
#+DATE: [2020-07-19 Sun 16:01]
#+KEYWORDS: fc

All user-facing commands (especially during review) should be as fast
as possible (<300ms).

Using the =awk= indexer, searching 2500 org files (~200k lines in
total) for due flashcards takes around ~500ms on my laptop (Thinkpad
L470, SSD).

Using a lisp indexer based on ~org-map-entries~,
searching a single 6500 line file with 333 flashcards takes ~1000ms,
indexing the same file with =awk= takes around ~50ms.