too slow
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
too slow
hi, i'k at the finish lines of a small android app, for all this time there was something that was bothering me on livecode, that on mobile it is very very slow (unlike on computer), does anyone know if there is anything that can fasten the app? (for example: moving from card to card, showing and hi9ding buttons that have icons on them ecc.)
thanks!
thanks!
Samuele.
Re: too slow
Are there any scripts involved in "close-/pre-/opencard"?
Please give some examples.
Usually everything works as fast on mobile as on desktop.
Please give some examples.
Usually everything works as fast on mobile as on desktop.
-
- VIP Livecode Opensource Backer
- Posts: 125
- Joined: Tue Apr 11, 2006 7:02 pm
- Location: Seattle, WA
- Contact:
Re: too slow
Download geekbench and report your overall score. The app is free.
LiveCode recommends a minimum score of 300 for the single core results.
LiveCode recommends a minimum score of 300 for the single core results.
Mark Talluto
--
Canela
design - develop - deploy: https://appli.io
Database and Cloud for LiveCode Developers: https://livecloud.io
Company: https://canelasoftware.com
--
Canela
design - develop - deploy: https://appli.io
Database and Cloud for LiveCode Developers: https://livecloud.io
Company: https://canelasoftware.com
-
- VIP Livecode Opensource Backer
- Posts: 9785
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: too slow
Mark.
I tried this. But Geekbench seems to be a general purpose CPU utility, no? How could it deal directly with LC?
Craig
I tried this. But Geekbench seems to be a general purpose CPU utility, no? How could it deal directly with LC?
Craig
-
- VIP Livecode Opensource Backer
- Posts: 125
- Joined: Tue Apr 11, 2006 7:02 pm
- Location: Seattle, WA
- Contact:
Re: too slow
Hi Craig,
Running Geekbench will provide an idea of the processing power of your Android's CPU. Slower CPUs will not render LiveCode other apps as quickly as faster CPUs.
Knowing your GB score will give you an idea of the performance of your device. The OP indicated that their app was running slowly. Moving from card to card seems explicitly slow.
LiveCode mentioned in a webinar for their LCFM project that they suggested Androids have a score of 300 or better. I have an Android that scores 310. It barely meets their minimum spec. But, it can run the Android apps I have been testing quite well. I am sure faster Android devices will be even better.
Running Geekbench will provide an idea of the processing power of your Android's CPU. Slower CPUs will not render LiveCode other apps as quickly as faster CPUs.
Knowing your GB score will give you an idea of the performance of your device. The OP indicated that their app was running slowly. Moving from card to card seems explicitly slow.
LiveCode mentioned in a webinar for their LCFM project that they suggested Androids have a score of 300 or better. I have an Android that scores 310. It barely meets their minimum spec. But, it can run the Android apps I have been testing quite well. I am sure faster Android devices will be even better.
Mark Talluto
--
Canela
design - develop - deploy: https://appli.io
Database and Cloud for LiveCode Developers: https://livecloud.io
Company: https://canelasoftware.com
--
Canela
design - develop - deploy: https://appli.io
Database and Cloud for LiveCode Developers: https://livecloud.io
Company: https://canelasoftware.com
Re: too slow
i don't think my android device speed is the problem
i have a Samsung Galaxy S21 (one of the fastest devices today).
![Confused :?](./images/smilies/icon_confused.gif)
Samuele.
Re: too slow
for example with this script:
Code: Select all
on GoToSettings
visual effect dissolve very fast
go to card "Settings"
end GoToSettings
![Exclamation :!:](./images/smilies/icon_exclaim.gif)
Samuele.
Re: too slow
What if you use the official syntax:
?
Code: Select all
on GoToSettings
lock screen for visual effect
go cd "Settings"
unlock screen with visual effect dissolve very fast
end GoToSettings
-
- VIP Livecode Opensource Backer
- Posts: 7266
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: too slow
Dissolve is one of the slowest visual effects, try one of the others.
Effects are cool the first time but can get tiresome after repeated use. I've stopped using them except for feedback on some types of mobile navigation.
Effects are cool the first time but can get tiresome after repeated use. I've stopped using them except for feedback on some types of mobile navigation.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
-
- VIP Livecode Opensource Backer
- Posts: 9785
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: too slow
Yep. Do it fast if you really have to.can get tiresome after repeated use.
Craig
Re: too slow
still, on some things it works but on other its still slow for example this:Klaus wrote: ↑Sun Dec 19, 2021 2:23 pmWhat if you use the official syntax:?Code: Select all
on GoToSettings lock screen for visual effect go cd "Settings" unlock screen with visual effect dissolve very fast end GoToSettings
Code: Select all
on showRelated
lock screen for visual effect
show graphic "GrayThing"
show widget "TypeUser"
show button "Ok"
show button "Cancel"
unlock screen with visual effect iris open very fast
end showRelated
Samuele.
-
- VIP Livecode Opensource Backer
- Posts: 9785
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: too slow
Hmmm.
Very fast is usually, er, very fast. We may need to see the stack.
Craig
Very fast is usually, er, very fast. We may need to see the stack.
Craig