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.

Slowness when typing in commit message editor due to frequent loadUsersFromLocalRepo calls #1463

Description

@maxbrunsfeld

Prerequisites

Description

When typing a commit message, Atom starts to feel sluggish. I recorded a profile and it looks like loadUsersFromLocalRepo is getting called each time I type a key.

Steps to Reproduce

  1. Open the commit message editor
  2. Start recording a profile
  3. Start typing

Expected behavior:

Low CPU usage.

Actual behavior:

High CPU usage.

Reproduces how often:

100% for me.

Versions

Atom    : 1.29.0-dev-c950a3e89
Electron: 2.0.0
Chrome  : 61.0.3163.100
Node    : 8.9.3

Additional Information

Zoomed-out profile (showing multiple keystrokes):

screen shot 2018-05-15 at 11 26 03 am

Zoomed-in profile (showing details):

screen shot 2018-05-15 at 11 26 11 am

Activity

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions