Fixed
Status Update
Comments
ko...@gmail.com <ko...@gmail.com> #2
Thank you for reporting this issue, we've been able to replicate this behavior. I've raised this issue with the engineering team and they will investigate ways to improve the performance for large documents.
lo...@gmail.com <lo...@gmail.com> #3
I'm seeing times of over 100 seconds on a document that's less than 30 pages.
da...@gmail.com <da...@gmail.com> #4
ouch!
jo...@lumapps.com <jo...@lumapps.com> #5
Any update regarding this issue that causes a very bad user experience ? Is it due to geographical location, document size... ?
br...@gmail.com <br...@gmail.com> #6
Google, my company is using google docs for large documents. The lack of Word's document map was a major impediment to using google docs - until we found the Table of Contents add on @ https://chrome.google.com/webstore/detail/table-of-contents/ickpeaanccmmabadbfiknbobkmkdnnaj . However on 80+ page documents it's taking more than 30 seconds to navigate to a link that's clicked. From talking with the developer I understand this is the underlying issue!
I'd encourage you to prioritize addressing this as organizations that work on large documents need functionality similar to Word's Document Map or what the Table of Contents add-on does. Without reasonable performance, it forces orgs to switch back to Word as the primary method of writing long docs!
I'd encourage you to prioritize addressing this as organizations that work on large documents need functionality similar to Word's Document Map or what the Table of Contents add-on does. Without reasonable performance, it forces orgs to switch back to Word as the primary method of writing long docs!
ms...@gmail.com <ms...@gmail.com> #7
I agree -- the problem with large documents not updating makes Google Docs much less useful. We are using google docs to serve over 25,000 people, but the TOC problem is creating a bad experience.
ff...@mxd.cz <ff...@mxd.cz> #8
I have an 18 pages long document with a lot of headings, 16 secs. to update the TOC.
ff...@mxd.cz <ff...@mxd.cz> #9
Google, do something! plz
pa...@gmail.com <pa...@gmail.com> #10
Yes, this is a major problem for large documents!
ko...@gmail.com <ko...@gmail.com> #11
The engineering team has improved the performance of this method over the last year, and there isn't any more improvement possible at the moment without significant changes to how reading and writing to documents works. For now we are marking this issue as fixed.
de...@gmail.com <de...@gmail.com> #12
Well i suggest that you start revamping your product Google. There are a lot of people out there that trust you to provide us with a product that enhances our productivity
ek...@google.com <ek...@google.com>
ff...@mxd.cz <ff...@mxd.cz> #13
I think that for a common document this feature is reasonably fast now, so I would mark it as fixed. Thank you!
Description
The execution transcript shows that the DocumentApp.getActiveDocument() takes over 10 seconds.
[14-02-26 10:59:32:299 GMT] Starting execution
[14-02-26 10:59:39:930 GMT] DocumentApp.getActiveDocument() [10.609 seconds]
I believe there is no way to cache the reference to the active document. Please reclassify this behaviour if you feel that it is a feature request to either be able to speed up the function or cache the reference.
function toUppercase() {
// because nothing is selected), show an alert and exit the function.
var doc = DocumentApp.getActiveDocument();
var selection = doc.getSelection();
if (!selection) {
DocumentApp.getUi().alert('Cannot find a selection in the document.');
return;
}
What steps will reproduce the problem?
1.
2.
3.
What is the expected output? What do you see instead?
What is the project key (found under "File > Project properties")? The
project key does not give the Apps Script team access to your source
code or data. We use it to look up debug information about your script.
Please provide any additional information below.
To subsequent readers: If you are also experiencing this issue, please
click the star next to the issue number. We prioritize issues with the
most stars.