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

Poor Large input first query performance #2238

Open
Huararanga opened this issue Nov 18, 2024 · 1 comment
Open

Poor Large input first query performance #2238

Huararanga opened this issue Nov 18, 2024 · 1 comment
Labels

Comments

@Huararanga
Copy link

Summary

We are refactoring from V4.
When we use large inputs, we are observing poor pefrormance for first query.

Steps to reproduce

Follow steps in readme https://github.com/Huararanga/postgraphile-large-input

Expected results

Good pefrormance on first query call

Actual results

Poor pefrormance on first query call

Additional context

@Huararanga
Copy link
Author

As @benjie suggested switching from

const $input = fieldArgs.get("input");

to

const $input = fieldArgs.getRaw("input");

fixed for this case

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 🌳 Triage
Development

No branches or pull requests

1 participant