Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Checking which paths are ignored by Git cripples path searching performance #361

@mattlyons0

Description

@mattlyons0

if (this.repo && this.repo.isPathIgnored(relativePath)) {

Disabling the line included above causes the searching of paths to go from 6000-7000ms to 2000-3000ms.

I am benchmarking by opening this project and the Linux Kernel in Atom. Although the Linux Kernel is an extreme case when considering #88 every improvement to path searching counts.

A proof of concept implementation with scandal seems to be able to drop the initial scanning time to 5000-6000ms and then 3000-4000ms for future searches.

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