From 2fa49907f1e871f7262d67a4cca9fd5950c9a967 Mon Sep 17 00:00:00 2001 From: Gregory Danielson Date: Sun, 15 Sep 2024 12:01:30 -0500 Subject: [PATCH] docs: remove outdated warnings in help page --- src/pages/help/index.mdx | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/src/pages/help/index.mdx b/src/pages/help/index.mdx index 2986fab..351b6e6 100644 --- a/src/pages/help/index.mdx +++ b/src/pages/help/index.mdx @@ -627,23 +627,24 @@ the sentence it's in. ## Frequently Asked Questions -### Why does it take so long to get a graph? +### Why does [query] take so long? -Searching for one or a few specific terms should only take a few seconds, but to -be real: You're reading a big SQLite blob over the network, making requests to -it one by one. I can only speed this up so much. +While searching for one or a few terms should only take about half a second, searching +with a wildcard or for many terms will take much longer- you can estimate this by +multiplying the half second by the number of queries. + +That said, even large queries will become faster as you make more queries +in the same session. This is because you're downloading and caching more of the index +needed to fulfill queries! + +But this is limited by the fact that each part of each query must be fetched +consecutively, including for different queries. There is only one worker fetching data, +because multiple workers would be unable to share their cache. If I had a database hosting solution, nearly all of the queries would be as instant as the network itself. If you have any suggestions for one, [let me know!](https://github.com/gregdan3/ilo-muni/issues/new) -### Why is the graph empty? - -This is an error handling issue. You made a search with a malformed term and I -didn't catch and throw it out. Oops. I already know why this is happening, but -I'm going to fix this later. Feel free to -[open an issue](https://github.com/gregdan3/ilo-muni/issues/new) though! - ### Why is my subtraction negative? That's allowed! If you do @@ -655,9 +656,6 @@ It's _probably_ possible to get floating point silliness when subtracting, but I haven't seen that happen personally- [please reach out if you spot it](https://github.com/gregdan3/ilo-muni/issues/new)! -Note: the y-axis scale may sometimes display in scientific notation instead of -integers or rationals. This is not an error! That's just ChartJS! - ### Why is the data so noisy before 2020? In short, there is much less data to examine from before 2020. This is why I set