Skip to content
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

Improve performance of theme report by calling the subaccounts with a recursive or GraphQL call #11

Open
jonespm opened this issue Nov 1, 2023 · 0 comments

Comments

@jonespm
Copy link
Member

jonespm commented Nov 1, 2023

When calling for new sub-accounts you can add the parameter recursive to save some API calls and improve performance. We may want to also look into using GraphQL and just getting all accounts first before processing which should speed up the playwright part.

Though it looks like with GraphQL you'd have to test a few subAccountsConnection so you don't know how deep you'd need to go to get all the subaccounts?

Might be worth looking into as the API calls seem to be where a lot of time is spent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant