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

Start in a non-git directory takes about 400ms #799

Description

@plafue

When opening atom in a directory that is not a git repository, git-plus takes substantial time to activate. These are the samples taken when opening atom in an empty directory: 318ms, 388ms, 416ms, 405ms, 418ms, 566ms, 399ms, 395ms, 415ms, 400ms.

In comparison, opening atom with git-plus in a git repository takes always under 10ms.

I'm running atom 1.40.1 with git-plus 8.7.1 under Linux.

Steps to reproduce:

  1. mkdir git-plus-empty-test && cd git-plus-empty-test
  2. atom .
  3. Open timecop

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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