Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Slow Script in FM
07-22-2015, 11:27 PM
Post: #1
Slow Script in FM
One for the newbies:

I was developing the concept of auto-parsing Requirements and found that the script I wrote ran really s-l-o-w-l-y. At the time I never had time to investigate why, I lived with it. I assumed that with over 100k of requirement records, this was the reason.

However, recently with some spare time on my hand, after a bit of investigation I discovered that the script step ‘new record request’ was running with a very complicated layout displayed. It took around 2 seconds to generate a new record.

Now with the script step running with a simple layout it flies.

And yes, I was a bit red-faced when I realized my mistake.
Find all posts by this user
Quote this message in a reply
07-24-2015, 12:50 AM
Post: #2
RE: Slow Script in FM
Sigma has a bunch of blank layouts for most of the main tables specifcally for this purpose. The less you give Filemaker to render the faster it runs. Though Ive found this much less of an issue these days (post FM11).
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)