Skip to content

[Swift] Huge performance regression #1554

@cltnschlosser

Description

@cltnschlosser

Going from 2.17.4 to 2.18.3. Codegen time ballooned from 40s to 240s.

codegen:generate --includes='./**/*.graphql' --localSchemaFile="schema.json" --passthroughCustomScalars --target=swift Sources/Core/Generated/

How to reproduce the issue:

To help understand the size of this project:
87 .graphql files
schema is 136,639 lines
Sources/Core/Generated/ is 2.2MB

Versions

2.18.3

cc @designatednerd

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions