Skip to content

Severe performance degradation after Spring GraphQL 1.4.1 update #1284

@anton-bogomazov

Description

@anton-bogomazov

Hello,

After upgrading from Spring Boot 3.4.3 to 3.5.4 and Spring GraphQL from 1.3.4 to 1.4.1, we encountered a significant increase in response time for one of our GraphQL methods. Notably, the input to this method is a complex self-referencing structure.

During profiling, I observed that around 16 seconds (previously it was just a few hundred milliseconds) are spent in
org.springframework.graphql.data.GraphQlArgumentBinder

I’ve created a minimal reproducible example that demonstrates the issue:
https://github.com/anton-bogomazov/graphql-arg-binding-bug

Let me know if you need more information. I’d be happy to help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: coreIssues related to config and core supporttype: bugA general bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions