Go to card has become slow

Neville Smythe neville.smythe at optusnet.com.au
Tue Apr 7 23:17:09 EDT 2020


Here is a link to the test stack for testing the speed of save stack


I don’t know why the test stacks I supplied disappeared from the QC bug report.

You need the SlowSave.livecode and the data.livecode stacks. They are both small, but SlowSave creates a large stack with 300 cards and the lorem ipsum text data to build an 8 MB stack, and displays the timing for saving. On my MacBook Air it takes 0.13 seconds to save; on Windows 10 installations I have seen times from 3 seconds to 10 seconds.

In this test, the stack has just 300 cards, 1 field on each, and lots of ascii text (so there should be no problems converting to utf-8 before saving in the unlikely event that is happening, and in any case would happen on all platforms). I haven’t tested stacks with large numbers of controls or large images rather than large text data.

Other apps on Windows 10 certainly don’t display this behaviour, which  indicates it is a LC problem not a Windows problem. Antivirus software and Defender were off during the test. I was under the impression that saving files from LC, rather than stacks, was not slower than normal, but Bob’s recently experience with saving data to a database may contradict that.

Some people have had trouble verifying my observations (other LC Forum users have confirmed). QC originally could not confirm the bug until they tried it “on an older PC”. However one of my users recently updated to a *very* fast HP box; it cut the save time down significantly but was still at least 20 times slower than on a typical Mac, ie almost usable. So maybe it has something to do with the Windows installation, though the ones I used were stock standard. I can’t see how fonts could be involved, for example. 


More information about the use-livecode mailing list