diff options
author | Leon Rische <leon.rische@me.com> | 2022-09-27 20:23:37 +0200 |
---|---|---|
committer | Leon Rische <leon.rische@me.com> | 2022-09-27 20:23:37 +0200 |
commit | 684cf7435f446fd8b90fe0bffae74726b3a75f7d (patch) | |
tree | 771bc1b98351e373230d3dbf7d3aaeb261a0e5b1 /docs/performance.org | |
parent | 78258557eeb4405416e911324330bbff113a81d0 (diff) |
Add documentation files
Diffstat (limited to 'docs/performance.org')
-rw-r--r-- | docs/performance.org | 14 |
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. |