I opened my desktop AIR application, and wanted to let it sit idle to see if there were any memory leaks. I was very pleased to see I feel it runs pretty efficient while open and idle (between crons running its processes).
I notice however there is a constant Network Event that is firing on every frame. I hover over a specific frame, and it says it's 'Handling LocalConnection traffic'. I let my application do its thing which took about 5-10 seconds, then after sitting idle, I continously get this event firing.
My application does make several HTTPRequests, gathing data, then uploading other data to my server. But I never use LocalConnection() anywhere.
Everything else seems to run very smooth, but this makes me think there is a leak somewhere creating this event.
Does anyone know what this might be, if it's my AIR application causing an issue or normal behavior?
Given the performance of your app, you don't have anything to worry about. "Handling LocalConnection traffic" just means the internal overhead for the feature in Flash Player - it has to check to see whether there's anything to do (send/receive data) on any LocalConnections, even if you're not using them - normally this wouldn't be reported, as Scout doesn't show you anything that took less than 5 microseconds, but I suspect the overhead is just creeping over this threshold, which is why it's showing up for you. Definitely not something to lose sleep over!
Incidentally, if you encounter an activity in Scout and aren't sure what it means, there's a complete description of everything here:
Ah, that makes perfect sense that it has to be doing something at all times (send/recieve). Good to know, and thanks for this link. Bookmarked!