I looked at the Corporate Dashboard Performance analyzer and it appears that the reason my app is taking almost a minute to sync is a virtual column where I grab the most recent entry for a particular bid item.
Here is the expression:
I use this to pre-populate fields with the most recent values for things like “percent complete.” Is there a more efficient way to do this so that the sync time is shorter? I’ve received complaints from app users regarding the speed of sync.
Thank you!
replacing RowKey with the name of the table’s key column. This is a heavier computation than the expression you proposed, but it guarantees to find the one row being added. Compare the performance of each to find the better for your situation.
Another option would be to use a normal (not virtual) column and populate it using an initial value rather than an app formula. This uses storage, but entirely eliminates the recalculation on sync.
Your solution is accurate to what the purpose of the virtual column is, which is for being used as rows are added, but the performance time is much better using the expression I described. With your solution of heavier computation, sync time was about 12 seconds, but by checking the date, it was brought down to about 6 seconds. My gut wants to do what’s accurate, but I’ll stick with the lighter computation as it will suffice for what I’m doing.
Thanks for your help!