Optimize TUI performance via sqlite tuning + caching (#290)

* Optimize TUI performance via sqlite tuning + caching

* Disable TestTuiBench in GH actions since it is just meant for benchmarking

* Update golden

* Fix go errcheck finding

* Revert "Update golden"

This reverts commit 7c8865ce75.

* Clear the search cache after deletions

* Allowlist TestTuiBench-Query as an unused golden since it is not used on GH actions
This commit is contained in:
David Dworken
2025-02-03 14:59:16 -08:00
committed by GitHub
parent 380fb2afa7
commit 641e87c22a
8 changed files with 274 additions and 239 deletions

16
client/testdata/TestTuiBench-Query vendored Normal file
View File

@ -0,0 +1,16 @@
Search Query: > this is 123
┌──────────────────────────────────────────────────────────────────────────────────────────────┐
│ Hostname CWD Timestamp Runtime Exit Code Command │
│──────────────────────────────────────────────────────────────────────────────────────────────│
│ localhost /tmp/ Oct 17 2022 21:53:41 P… 3s 2 this is a long co… │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
└──────────────────────────────────────────────────────────────────────────────────────────────┘
hiSHtory: Search your shell history • ctrl+h help