I'm old enough to remember the times when computers were restarted regularly, both out of necessity (many software installs required this) and for performance reasons.
For the last decade or so, the experts have said that we don't need to restart our computers. But I still find that my computer runs faster after a restart. I can see my CPU usage is much lower, and RAM is more available — even after I've reopened all of the applications I was using before shutdown.
I'm curious about how others approach this question. For the record, I have an M2 MBA.
Every day. I power off anything I am not using after clearing out temp files. I get less dust bunnies and less power usage. I only power on a computer if I want to use it and leave the computers I am not using off.