labnol / apps-script-starter

Setup a local development environment inside Visual Studio Code and build Google Workspace add-ons with Google Apps Script
https://www.youtube.com/watch?v=KxdCIbeO4Uk
MIT License
1.1k stars 176 forks source link

Performance Issue [IMPORTANT] #25

Closed lahirue closed 4 years ago

lahirue commented 4 years ago

When the number of files and number of code line getting increased in the project. Performance getting worst.

Even for a simple request it takes more than 5 seconds to complete the client request. [Need to check the network call from the browser side]

global.getCurrentUser = () => { return Session.getActiveUser().getEmail(); };

When above method calls from UI, it is taking around 5.73 seconds. (When there are another 15 methods available)