New log options

Can someone explain the device stats and app stats to me?
A couple of my devices show some total ms in the 100 thousand range, just trying to understand what these new options mean and how to use them.

Average runtime is the average number of seconds the app or driver takes to complete each time it "runs." For a driver, this could be something like you or an app sending a command: the driver wakes up to run the code behind the command, which is usually something like generating the "real" Z-Wave or Zigbee command that needs to go out to the device, sending that message, then going back to sleep. For apps, this is often "waking" in response to a scheduled job or device/event subscription and doing whatever you have configured to do in that case, then going back to sleep. These each count as a single execution of the app or driver.

There are no hard and fast rules for what's good or bad, but if you're trying to troubleshoot a problem, I'd look out for anything unexpected. Long average runtimes for most apps or drivers are probably worth looking into, but dozens or even hundreds of milliseconds isn't unusual here, and if you have a complicated app (e.g., a really long rule), I wouldn't be surprised to see it on the upper side of that. High total runtimes may or may not be a concern. For apps or drivers like the Hue Bridge integration that wake up on a schedule to fetch new device states from the Bridge, for example, the total runtime is likely to be pretty high; same for apps like HubConnect where a "parent" app (actually the child app but a parent to the devices) does a lot of work on behalf of many devices. If you see anything surprising, maybe ask here to see if anyone else has thoughts on that specific app or driver, but if you aren't experiencing any problems, I probably wouldn't pay too much attention to these numbers--at least not if there isn't anything alarming you can't easily explain away like these examples.

Thanks for the thorough explanation, I don't see any issues so I will not dwell on it. :smile: