Quantcast
Channel: Adobe Community : All Content - AIR Bugs and Performance Issues
Viewing all articles
Browse latest Browse all 1419

Worker performance slow on mobile

$
0
0

Hi all,

 

I have refactored most of my game to run physics on the worker thread. When I run it on my PC from Flash Builder 4.7 everything works great but when I compile app for mobile performance are terrible but like really terrible. Everything is lagging so much like 10 times slower compared to when I did no have workers at all.

 

I am using shareable byte array to transfer object and contact data.

I am using mutexes to avoid concurrency when reading and writing from byte arrays.

 

Is this a known thing that workers are not good for mobile. Why would I get so much degraded performance. Is there any common mistakes when working with workers that I may have done that are visible only when compiled for mobile because on PC when I debug it runs really smooth.

 

I have tested id with Adobe AIR SDK 27.0.132 and AIR SDK 28.0.0.120 Beta and performance are bad on both with workers.

 

I did test on both iOS and Android and results are the same on both platforms.

 

I tested it on iPhone X, Samsung s6 Edge and Huawei P10 Lite.

 

Does anyone have any clue what might be wrong?


Viewing all articles
Browse latest Browse all 1419

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>