Skip to content

[Bug]: Formatting taking more than 500ms for single files #1846

@Schlafhase

Description

@Schlafhase

Description

Csharpier has been quite slow for a while now (at least for me). It often takes more than 500ms to format a single file (it doesn't take much more time to format a whole solution). I use csharpier with conform.nvim but it also takes that long when I run it from the terminal.
Has anyone else noticed this or is it just me?

I'd appreciate if someone would look into this :)

Steps to Reproduce

Format a c# file using csharpier format.

Expected Behavior

Should take 0-100ms.

Actual Behavior

For me, it takes 300-1000ms

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