-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
More performant insertRows() #16
Comments
Yes, it is pretty slow this way (calling There are some methods here that you can experiment with if you like: If any of those work for you, I'd love to have a contribution back with the working code! :) |
I have finished the simple implementation in gs. :-)
Problems for ts-implementation:
So at the moment a ts implementation cannot be compiled.. There is a package @types/google-apps-script which probably wasn't available when you created sheetquery providing types for google apps script. I suggest the following course of action: I extend the mock ad hoc in sheetquery.test.ts and add @types/google-apps-script as a dev-dependency. Then I will create a PR for you. Would that be ok for you? Do you have a better idea? New test-scenarios:
I have thought about the official google types and their usage in gasmasks or sheetquery. I think it would be neat if sheetquery used them. But then gasmask would need to implement all the methods? What are your thoughts? |
Hi!
Inserting rows is really slow (3 Minutes for 640 entries :-/ ). Do you see any way to increase performance of insertRows?
I really like the simplicity of sheetquery thanks for the project ❤️
This is my first post on github, please be gentle. 😇
I am also open to implementing the solution myself, if there is one.
This is my apps script code:
These are the logs:
I am not sure if anything can be improved in sheetquery. The relevant source code is simply a call to
appendRow
Here is the full method from index.ts lines 203+
The text was updated successfully, but these errors were encountered: