Home assistant sometimes slow after some changes

Hello,
my Home assistant yellow sometimes suddenly is slow, I get a connection timeout or the page responds very slow.
this happens a during browsing though lovelace and I actually did 2 things when this all started to happen.
I updated HA core from 2023.8.x to 2023.9.x (now on 2023.10)
and I replaced my Samsung 980 SSD with a brand new samsung 970 EVO.
as the 980 made HA crash on a monthly basis. Hope that is over now.

But I can’t find why HA sometimes response so slow. nothing in the log, nothing anywhere.

anyone any clue where to look for?