Android Speed Woes
sean at pidigital.co.uk
Thu Aug 29 17:39:35 EDT 2019
I don’t think this is fully related to your issue based on the script you show but...
I’ve been doing extensive testing this week and have come close to the conclusion now that AcceleratedRendering is completely non functional for all platforms. However, I’ve got a feeling that none of my recent emails to LC on the matter have got through during their outage.
Is no one else seeing this loss in performance? So far all my tests have shown it to be affecting every platform standalone and the IDE.
Back to your issue, Dan.
What version LC are you using?
Is this timing consistent if triggered by a button?
What timing do you get with lock screen muted?
Also, put the timer calculation to a variable to ensure it is not the answer dialogue itself producing erroneous timings.
NB. Additionally, if your groups are not moving up down left right then they are best set to static rather than dynamic or scrolling. This won’t be affecting your performance in this instance but worth noting. It’s only useful setting it to ‘dynamic’ if the values, text or images are changing frequently/rapidly or moving about the display.
Pi Digital Prod Ltd
> On 29 Aug 2019, at 21:24, Dan Friedman via use-livecode <use-livecode at lists.runrev.com> wrote:
> Hello again! I am have a tough time getting things to run snappy on an Android device. It's blazing fast on my computer, and more than acceptable on my iPhone, but on any android device, it's slow... noticeably sluggish. The issue is mainly hiding/showing groups. For example:
> put the milliseconds into m
> lock screen --for visual effect in rect (the rect of grc "ne_BG") //removed the animation for speed testing
> hide grp "ne_mainControls"
> show grp "ne_repeatG"
> unlock screen --with visual effect push left
> answer (the milliseconds - m)
> The result of m is:
> iMac = 10
> iOS = 1 (iPhoneX)
> Android = 516 (Moto G5 Plus Android 7.0)
> The groups contain no images or complex graphics. Just some buttons and fields.
> I have tried it with and without acceleratedRendering. Actually, with acceleratedRendering enabled it took longer, m=558.
> I have it setup like this:
> Card "calendar"
> Group "newEventG" --> layerMode set to "Container"
> Group "ne_mainControls" --> layerMode set to "Dynamic"
> Group " ne_repeatG" --> layerMode set to "Dynamic"
> Any thoughts or advice? Most other functions are working within acceptable ranges/speeds.
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the use-livecode