Google Script started running super slow

1,578 views
Skip to first unread message

Francisco Zeballos

unread,
Mar 3, 2022, 12:21:13 AM3/3/22
to Google Apps Script Community
Hello!

I am developing some scripts for Google Sheets, and they started running super slow today. A code that would take 4-5 seconds to run is now taking 50-60 seconds.

Is this a widespread problem with Google servers or something?

Thank you!

Brett Grear

unread,
Mar 3, 2022, 5:31:08 AM3/3/22
to Google Apps Script Community
Happened to me yesterday as well. I'm hoping it was a temporary problem

Bill

unread,
Mar 3, 2022, 8:52:00 AM3/3/22
to Google Apps Script Community
I am seeing the same thing - even just copying a 2x10 cells range from one sheet to another is taking maybe 30 seconds since Yesterday.  It's basically unusable for me.

Seems like it can't be 100% widespread, so not sure if resaving or something can change which server or region the script is running on - that is basically what I'm going to try first.

On Thursday, 3 March 2022 at 05:21:13 UTC francisco.z...@gmail.com wrote:

Marcin Wałęsa

unread,
Mar 3, 2022, 8:52:06 AM3/3/22
to Google Apps Script Community
I'm seeing the same issue this morning, yesterday all was fine, now it all takes forever... not sure what happened.

Rick L

unread,
Mar 5, 2022, 8:32:48 AM3/5/22
to Google Apps Script Community
A big slow down 6x slower or more!
Since March 2nd my time. (March 1st USA time I guess... I;m in Australia)
The script below has worked fine for the last 10+ years.

Deployment  Function                       Type               Start Time                       Duration           Status
Head        spreadsheetFrozenBackup        Time-Driven        Mar 4, 2022, 10:30:49 PM        360.128 s        Timed Out
Head        spreadsheetFrozenBackup        Time-Driven        Mar 3, 2022, 10:30:49 PM        360.167 s        Timed Out
Head        spreadsheetFrozenBackup        Time-Driven        Mar 2, 2022, 10:30:49 PM        360.111 s        Timed Out
Head        spreadsheetFrozenBackup        Time-Driven        Feb 28, 2022, 10:30:49 PM        63.779 s        Completed
Head        spreadsheetFrozenBackup        Time-Driven        Feb 27, 2022, 10:30:49 PM        57.586 s        Completed
Head        spreadsheetFrozenBackup        Time-Driven        Feb 26, 2022, 10:30:49 PM        53.323 s        Completed


the Garage die Werkstatt

unread,
Mar 5, 2022, 8:33:10 AM3/5/22
to Google Apps Script Community
I am having the same problems suddenly my scripts are 3 times slower from 30sec to 90sec

what is going on?


GEKA Support

unread,
Mar 7, 2022, 5:07:08 AM3/7/22
to Google Apps Script Community
Im glad its not just me...   I hope (NEED) this to be straightened out ASAP.  I have tried everything I can think of assuming it may have done something I have done but it is not.
This has crippled my workflow.  I have a basic GUI setup in one sheet and populate data from another inventory sheet. Very simple Database and buttons to jump between tabs.  Nothing crazy.
Jumping from one tab to another would take 2 seconds now taking 20+.
Populating data to make changes takes even longer.  I have automated an onEdit command that uses a cell to search the database, and on a change clears the form, then populates the Data in the GUI then jumps to the next line so I can enter a quantity...   Quick, Easy, Fast, Effective, Awesome!  Now... This is completely unresponsive.  Nothing happens.  At this point I can not rely on Google for my business anymore.  I have to do everything manually an I will not be able to keep up.

Troubleshooting Steps:

Was working fine in the morning then suddenly slowed down.  I have to talk to my wife on the time but I can probably narrow down to the time within 5-10 min.
Checked the logs and see that there is a significant change and also completely unresponsive on certain scripts.
Thought it was Chrome or something...   Checked for updates..  updated OS on iPad, MacMini.  Restarted multiple times...  gave up...  thought it might clear up later.
Still problems...  Tried Safari, same thing.  Tried Safari on the iPad in desktop mode as I often use it and is exactly the same amount of time.
I thought if something changed for some reason in a script, ill open an archived database.  Every week or so I will make a copy of the Sheet as a backup in the case i mess something up.  Opened the archive sheet and functioning the exact same way...  As well as ALL other older versions.  
Well...  maybe its my network.  Im trying the same thing using my phone as a hotspot as well as writing this post....   still nothing.  Acting exactly the same.

I am legitimately screwed if this issue does not get resolved quickly

Any help would be greatly appreciated.  For myself and for all of the others that have trusted Google for their business.  Fantastic product, shouldn't complain because its free...  however, I am now beside myself and regretting the time and effort i spent learning this platform and building a database to run my business if I now have to pay for a solution that is reliable.

Thanks Guys!

GEKA Support

unread,
Mar 7, 2022, 5:07:08 AM3/7/22
to Google Apps Script Community
I have been having the same issue since the 2nd or 3rd as well.  This morning I posted my concerns and troubleshooting steps as well and that it is seriously effecting my business.  
I just got back home and tried a PC...   Thought it was then the issue was related to Apple products, then came back over to my Mac and I kid you not, After almost a week it is resolved..  Just like that...  Not only that but i believe it may even be 25% faster....   Seems a bit snappier and I couldn't be more happy.  

Hopefully this fix sticks.  

Please reply if you are still. having issues, OR even if it is running the same or better.

Thanks guys!  Thanks Google!

On Saturday, March 5, 2022 at 7:33:10 AM UTC-6 theg...@toughill.name wrote:

Rick L

unread,
Mar 9, 2022, 4:42:26 AM3/9/22
to Google Apps Script Community
This function should take roughly the same time to run each day.
Now it is wildly different and fails sometimes. All very strange.

Deployment  Function              Type               Start Time                     Duration     Status
Head        AsxNextDivDate        Time-Driven        Mar 9, 2022, 3:23:33 AM        21.114 s     Completed
Head        AsxNextDivDate        Time-Driven        Mar 8, 2022, 3:23:33 AM        360.153 s    Timed Out
Head        AsxNextDivDate        Time-Driven        Mar 7, 2022, 3:23:33 AM        34.509 s     Completed
Head        AsxNextDivDate        Time-Driven        Mar 6, 2022, 3:23:33 AM        94.605 s     Completed
Head        AsxNextDivDate        Time-Driven        Mar 5, 2022, 3:23:33 AM        94.286 s     Completed
Head        AsxNextDivDate        Time-Driven        Mar 4, 2022, 3:23:33 AM        360.201 s    Timed Out
Head        AsxNextDivDate        Time-Driven        Mar 3, 2022, 3:23:33 AM        360.18 s     Timed Out

On Thursday, 3 March 2022 at 4:21:13 pm UTC+11 francisco.z...@gmail.com wrote:

Lee Edwards

unread,
Jun 16, 2022, 4:25:12 AM6/16/22
to Google Apps Script Community
same for me, scripts that have ran without issues for months/years are now so unstable and either take ages to run or fail to run as it times out, on lots and lots of my scripts not just 1. causing real issues

Paweł Ozimiński

unread,
Oct 25, 2022, 8:03:57 AM10/25/22
to Google Apps Script Community
I have exact same problem, script that shall take less than 20 seconds, sometimes takes over a minute and it seems random. Any progress on that Google?

sudhanshu kumar1

unread,
Feb 15, 2023, 7:28:34 AM2/15/23
to Google Apps Script Community
Hi All

I am experincing  very slow app script since today morning. Mostly filed to time Out.

Reply all
Reply to author
Forward
0 new messages