Skip to content

Performance: TextMate allocates a lot of int[]'s #4510

Open
@ryanbrandenburg

Description

Recommendation from https://github.com/dotnet/aspnetcore/issues/30247.

While not directly related to Razor allocations anywhere in VS could delay us.

We noticed that in some large file cases TextMate.Core.parser.Implementation.ParserState.ctor allocated as much as 111MB of int[]'s. While some amount of allocations is unavoidable when parsing we might be able to work with them to reduce that amount down to something more managable.

Metadata

Assignees

No one assigned

    Labels

    externalScope involves an area outside of the repoperf 📊

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions