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
Closed
Description
Prerequisites
- Have you tried to reproduce the problem in Safe Mode?
- Have you followed all applicable steps in the debugging guide?
- Have you checked the FAQs on the message board for common solutions?
- Have you checked that your issue isn't already filed?
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
- Open the commit message editor
- Start recording a profile
- 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):
Zoomed-in profile (showing details):