LiveCode 9.5.1 Community running slowly on Windows 10

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

tjm167us
Posts: 50
Joined: Sat Dec 03, 2011 8:27 pm
Location: San Ramon, CA

LiveCode 9.5.1 Community running slowly on Windows 10

Post by tjm167us » Thu Mar 05, 2020 11:10 pm

Hello, friends. It's been a while since I've gotten to play with LiveCode. I downloaded 9.5.1, and much to my disappointment, it is crawling. It takes forever to type in the IDE, select menus, etc. It seems like it's faster when I first start it (but still not snappy), and progressively slows down. I know there is a good explanation, but this is untenable!
Any ideas?

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9823
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: LiveCode 9.5.1 Community running slowly on Windows 10

Post by FourthWorld » Thu Mar 05, 2020 11:14 pm

This is not a suggestion, just a diagnostic step: Try turning off Windows Real-Time Projection and see if performance improves.

Once you've done that, turn it back on again immediately, and then report back here with what you found.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9644
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: LiveCode 9.5.1 Community running slowly on Windows 10

Post by dunbarx » Fri Mar 06, 2020 2:57 am

In general, this is rarely seen. I am on a Mac, but that should make little difference. It is, as Richard said, likely not LC that is the problem .

Craig

SparkOut
Posts: 2852
Joined: Sun Sep 23, 2007 4:58 pm

Re: LiveCode 9.5.1 Community running slowly on Windows 10

Post by SparkOut » Fri Mar 06, 2020 8:46 am

I notice it, and have seen quite a number of references to similar problems in IDE performance.
It is MUCH better than it used to be in LC 8.x but still apparent, but without a consistency or recipe. Sometimes it slowly reduces in performance over time and a restart of LC improves things again, which makes me think of memory leaks. Otherwise it can be intermittent, and a restart of LC might not help. On occasion, I have noticed the LC updater running (no updates to collect even so) and killing the updater task improves things for a while.
Advice such as turning off the Project Browser when moving objects has been quite useful but only addresses one symptom. Adding the LC directories to antivirus exclusions sometimes has a noticeable effect. There have been great efforts by the development team to improve IDE performance and this is much appreciated. But it is not rare to notice the IDE struggling, for whatever reason, whether LC or other factors at work.

AndyP
Posts: 615
Joined: Wed Aug 27, 2008 12:57 pm
Location: Seeheim, Germany (ex UK)
Contact:

Re: LiveCode 9.5.1 Community running slowly on Windows 10

Post by AndyP » Fri Mar 06, 2020 9:56 am

HI, I also see this a lot but, only badly on one of my Win 10 computers.


So the only differences between the two computers are in specs.

The not so problem one has an i7 with 16Gb
The problem one has i5 8Gb, so I suspect the 16GB one is also having the same issues but the extra ram is helping to mask the problems as it does crawl eventually.

Apart from the solutions you noted, do not open the message box, this really slows down the whole IDE on both computers.
Andy Piddock
https://livecode1001.blogspot.com Built with LiveCode
https://github.com/AndyPiddock/TinyIDE Mini IDE alternative
https://github.com/AndyPiddock/Seth Editor color theming
http://livecodeshare.runrev.com/stack/897/ LiveCode-Multi-Search

mrcoollion
Posts: 720
Joined: Thu Sep 11, 2014 1:49 pm
Location: The Netherlands

Re: LiveCode 9.5.1 Community running slowly on Windows 10

Post by mrcoollion » Fri Mar 06, 2020 2:41 pm

AndyP wrote:
Fri Mar 06, 2020 9:56 am
do not open the message box, this really slows down the whole IDE on both computers.
This is correct. I also do not use the message box because it makes everything unusable slow (Windows 10 user).

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7227
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: LiveCode 9.5.1 Community running slowly on Windows 10

Post by jacque » Fri Mar 06, 2020 4:51 pm

dunbarx wrote:
Fri Mar 06, 2020 2:57 am
In general, this is rarely seen. I am on a Mac, but that should make little difference. It is, as Richard said, likely not LC that is the problem .
It's mostly a Windows problem and I've seen lots of posts about it. But I've experienced a (much briefer) delay on Mac too, but only a handful of times. It's always while typing in the script editor. Input will stop for a few seconds and then suddenly appear.

For script editor problems it's helpful to turn off script completion and all the other automated enhancements. I do use auto-bracketing for parentheses, square brackets, etc. but keep all the others turned off. I'm also probably the only person in the world who works with script colorization turned off, which might help a little too, but most people can't stand that.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9644
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: LiveCode 9.5.1 Community running slowly on Windows 10

Post by dunbarx » Fri Mar 06, 2020 5:38 pm

Jacque.

What is auto bracketing? I do not see that in the preferences.
"I do use auto-bracketing for parentheses, square brackets, etc.
Craig

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9823
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: LiveCode 9.5.1 Community running slowly on Windows 10

Post by FourthWorld » Fri Mar 06, 2020 8:28 pm

dunbarx wrote:
Fri Mar 06, 2020 2:57 am
In general, this is rarely seen. I am on a Mac, but that should make little difference. It is, as Richard said, likely not LC that is the problem .
Not to sound contrary but merely clear, that's not what I said. This is a real issue, and it is more pronounced on Windows than any other platform (Mac is usually quite snappy, and most Linux performance is generally excellent). But it is also not consistent, varying from system to system, and on a given system from project to project.

This makes it hard to pin down, because it appears as though there are multiple contributing factors. So my focus is on assessing the relative contribution of known factors in a given case, and remaining open to discovering possible new factors along the way.

When talking with someone expressing this for the first time, the benefit of starting with Windows Defender's Real-Time Protection is that its effects are usually quite pronounced, and extend to affecting a good many apps beyond LiveCode.

Once we can asses that impact, further tests within LC will hopefully help us hone in on the problem(s) in actionable ways.

The Message Box appears to be a part of this, but rather than lead the witness I usually prefer to ask open-ended questions and learn from what the user describes. Many good insights can come about that way.

We'll get there. LC's strongest area is in desktop apps, and on the desktop it's all about Windows, with both Mac and Linux being also-rans. The team understands this, and working with them to identify primary and secondary bottlenecks should produce a work plan that improves performance very affordbly.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9644
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: LiveCode 9.5.1 Community running slowly on Windows 10

Post by dunbarx » Fri Mar 06, 2020 8:37 pm

Richard.

I only really meant that other influences were an issue, not that LC per se was a snail.

Craig

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9823
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: LiveCode 9.5.1 Community running slowly on Windows 10

Post by FourthWorld » Fri Mar 06, 2020 8:53 pm

dunbarx wrote:
Fri Mar 06, 2020 8:37 pm
I only really meant that other influences were an issue, not that LC per se was a snail.
I think it's safe to say there are performance opportunities in all software, including LC, and certainly LC on Windows.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

bogs
Posts: 5435
Joined: Sat Feb 25, 2017 10:45 pm

Re: LiveCode 9.5.1 Community running slowly on Windows 10

Post by bogs » Fri Mar 06, 2020 9:46 pm

dunbarx wrote:
Fri Mar 06, 2020 5:38 pm
Jacque.
"I do use auto-bracketing for parentheses, square brackets, etc.
What is auto bracketing? I do not see that in the preferences.
Craig
aPic_autoBracketing.png
A good left (bracket) deserves another [right bracket]....
Image

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9644
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: LiveCode 9.5.1 Community running slowly on Windows 10

Post by dunbarx » Fri Mar 06, 2020 10:56 pm

Bogs.

You know, I have almost never used the "Edit" menu when it the debugger is open. And I do remember seeing and testing that option, though years ago. I will leave it in place for a while and see if it works transparently.

Thanks.

Craig

bogs
Posts: 5435
Joined: Sat Feb 25, 2017 10:45 pm

Re: LiveCode 9.5.1 Community running slowly on Windows 10

Post by bogs » Fri Mar 06, 2020 11:41 pm

dunbarx wrote:
Fri Mar 06, 2020 10:56 pm
I have almost never used the "Edit" menu when it the debugger is open.
Yah, me either....
aPic_editorEdit.png
I wonder what this does...
aPic_editorEdit.png (8.59 KiB) Viewed 6298 times
Image

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7227
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: LiveCode 9.5.1 Community running slowly on Windows 10

Post by jacque » Fri Mar 06, 2020 11:56 pm

dunbarx wrote:
Fri Mar 06, 2020 5:38 pm
What is auto bracketing? I do not see that in the preferences.
I wasn't at my Mac when I wrote that so I forgot what it was called exactly. Bogs' image shows it, I should have said "bracket completion". And now that I've looked, I also use autoformat and control structure completion. From what I have read, all those menu options can slow down the editor but on Mac the problem isn't as bad.

I have a love/hate relationship with bracket completion. You have to hit the right-arrow key to go over the closing bracket or quotation mark. That's annoying, but on the other hand, it really helps to keep your nested brackets in the right places. So I leave it on.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Post Reply

Return to “Talking LiveCode”