Skip to content

Performance regression during upgrade from 2.88.0->2.89.0 #1632

@henri5

Description

@henri5

DeepNesting.txt

Attached file from project which contains a lot of similar files, made generic to keep original structure and work with plain java classes. Such files are formatted on 2.88.0 in non-noticeable time, in 2.89.0 (and with its performance enhancements) and later it takes 10+ seconds, as a test case for FormatterIntegrationTest it takes 39 secs on my machine. With performance enhancement reverted, it takes 350ms.

In original project such extreme code blocks are marked as not to be formatted, but seems to take long time regardless.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions