I know it's a trivial question but it would be very important for those who start in the world of ESP8266 programming.
how to calculate the time required for each for or while or in general each loop () for my code to work well and or not have reset problems or wdt reset. I am seeing reboot problems of my esp8266 random. It can happen after 8 hours as after two days. How can I calculate and give enough time for each sensor analysis connected to my esp8266?