问题
I noticed that my spreadsheet is constantly refreshing functions - I can see progress bar [right-top section] moving each 5-10 secs. On those peaks I've huge processor consumption.
Since there're 1100 lines in main sheet (1 of 20 sheets in that file) it's pretty hard to find which function keeps progress bar running.
Is there any way to list which function is currently processed?
回答1:
Try the developer tools from your browser. If you use Chrome, checkout How to Use the Timeline Tool.
Try to work offline in order to discard that the problem is related to functions that require to be online to be updated like IMPORTRANGE and Google Apps Script.
Use the search function together with regular expressions to look for open-ended references (like A:A) and functions like MMULT, SUMPRODUCT and similar functions.
Related
- Measurement of execution time of built-in functions for Spreadsheet
回答2:
I don't know of a calculation profiler for Google Sheets.
Probably simplest solution is to import it into Excel and work from there - hopefully Excel calculation bottlenecks are the same as Google calculation bottlenecks.
Start by reading my MSDN articles on Calculation performance.
https://msdn.microsoft.com/en-us/library/office/ff700515(v=office.14).aspx
(Disclosure: I develop & sell FastExcel which includes an Excel calculation profiler http://www.decisionmodels.com/fastexcel.htm)
来源:https://stackoverflow.com/questions/44176868/google-spreadsheet-constantly-recalculates-functions