Skip to content

Don't read source files in formatter when there is a cache hit #8132

Closed
@konstin

Description

Currently, we always read source files in formatter even when we hit the cache. With a hacky change, not reading source files is 10% faster with a hot cache. The task is to refactor the formatter result types so that we don't read the source files if we hit the cache and don't need them.

Metadata

Assignees

No one assigned

    Labels

    formatterRelated to the formatter

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions