Android Speed Woes
dan at clearvisiontech.com
Thu Aug 29 19:31:28 EDT 2019
I wouldn't say AR is non-functional. When I enable it I do see a difference. Although, in almost all cases it makes it worse. I see jerky scrolling and screen artifacts.
I am using 9.5.0 Business. I compiled the app in 9.0.4 Indy, and m=562. Interesting that I just tried it on a Moto G6 and m=585. Slower than the G5!
>> Is this timing consistent if triggered by a button?
That's how I am firing this.
>> What timing do you get with lock screen muted?
If I comment out the lock screens, I get m=756 (Moto G5)
On 8/29/19, 2:40 PM, "use-livecode on behalf of Pi Digital via use-livecode" <use-livecode-bounces at lists.runrev.com on behalf of use-livecode at lists.runrev.com> wrote:
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:
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