On 15/11/2026 19:38, Steve Carroll wrote:
> On 2026-11-15, Apd wrote:
>> I take it you're using an SQLite DB so your best bet would be to test
>> your queries from the CLI or install DB Browser (for the benefit of a
>> GUI) and load your own DB. Then you can get a realistic comparison
>> between your app and the native speed of SQLite.
>
> Exactly. As there isn't much overhead with Python/Flask there's no
> benefit to his comparison with my Flask app. Unless one is pulling like
> 10,000 rows or more (why do *that*?!),
Quite.
> on a modern computer they're not likely to see much of a difference
> (I'm still amazed at how fast modern browser are!).
Which is great when you don't visit sites with a Cloudflare timeout or a spinner delay checking you're not a bot which I see too often.
> For that (via FTS w/Porter's algo), I got a first run of:
He's using FTS.
> Result: 55 rows returned in 99ms
>
> Second run (which is cached): https://i.postimg.cc/4JRR7W5Y/second-run.jpg
Impressive.