Skip to content

Make WebManager.Generator faster #3

Description

@Codelisk

Read how to improve performance of code generators
https://andrewlock.net/creating-a-source-generator-part-9-avoiding-performance-pitfalls-in-incremental-generators/

try to make WebManager.Generator and WebManager.Generator.Contracts faster

you can also try to find a new way to create the contracts because currently it works with a direct reference to WebManager.Generator which is not so nice. If possible keep it so that WebManager.Generator.Contracts can be used as a seperated Generator so that its still possible have the Contracts and the implementation of the manager in 2 different projects. If not halb so schlimm.

Thats how you can debug the generator
https://github.com/JoanComasFdz/dotnet-how-to-debug-source-generator-vs2022

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions