Recently I've been trying to optimise my game for mobile and in doing so discovered something i find really strange. I noticed that whenever i touched the screen the cpu usage would more than half and then go back to its original value shortly after i stopped touching the screen. The cpu usage would remain low so long as I was doing tapping or swiping gestures on the screen. When the cpu usage dropped it would not come at the cost of performance so far as I could tell because the fps remained at a flat 60fps. I was doing a local network preview onto my Samsung S7, with a spritefont displaying my cpu/fps details every second.
I decided to investigate further and made a temporary event sheet for my layout which only had 2 events, 1 to update the cpu info and one to request browser fullscreen on start of layout. There were no events involving any touch input and yet the same thing happened, this time with cpu usage dropping to 30% of its original value with no effect on fps.
I even went so far as to remove the 'touch' plugin from the project and even then it happened. This made me think it had something to do with the phone or the browser app but when previewed on desktop browser and clicking the mouse on the screen the cpu usage also dropped in a similar fashion, but not so with keyboard input.
Any ideas whats going on here?