Home Assistant has gotten quite slow to response to menu selections

my ios app isn’t usable because i can’t scroll reliably, it loads quickly however. on the web (local), the home page loads quickly however menu tabs and command selections are slow to respond

i’ve got a complex setup with hundreds of integrations. my ha instance re-starts quickly with no issues.
i’m running python3.8 venv on an intel skull canyon NUC running ubuntu 18.04 with 16Gb of dram on the latest HA rev…

my processor usage is pretty low in the single digits with plenty of swap and disk space. i run extensive image recognition with tensorflow however i’m using an external TPU. i’m serving 4 ipad displays with tileboard.

any ideas how to determine which process maybe blocking and thereby slowing down my gui?

i deleted my db file (4Gb) … and the response time is back to normal
my configuration file shows … shouldn’t this prune the file to 10 days every day?

# limit home-assistant_v2.db size
recorder:
  purge_keep_days: 10
  auto_purge: true