summaryrefslogtreecommitdiff
path: root/docs/performance.org
diff options
context:
space:
mode:
authorLeon Rische <leon.rische@me.com>2022-09-27 20:23:37 +0200
committerLeon Rische <leon.rische@me.com>2022-09-27 20:23:37 +0200
commit684cf7435f446fd8b90fe0bffae74726b3a75f7d (patch)
tree771bc1b98351e373230d3dbf7d3aaeb261a0e5b1 /docs/performance.org
parent78258557eeb4405416e911324330bbff113a81d0 (diff)
Add documentation files
Diffstat (limited to 'docs/performance.org')
-rw-r--r--docs/performance.org14
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/performance.org b/docs/performance.org
new file mode 100644
index 0000000..3d2df8a
--- /dev/null
+++ b/docs/performance.org
@@ -0,0 +1,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.