Input Very Laggy After Update to 2.0
See original GitHub issue-
I am on the latest Hyper.app version
-
I have searched the issues of this repo and believe that this is not a duplicate
-
OS version and name: Windows 10 Anniversary Edition
-
Hyper.app version: 2.0
-
Link of a Gist with the contents of your .hyper.js: https://gist.github.com/BrysonR/d37a699fced1f16ea451e3015344fdd0
-
Relevant information from devtools (CMD+ALT+I on macOS, CTRL+SHIFT+I elsewhere):
total init time 515.8100000000002 bundle.js:1 [Violation] 'requestAnimationFrame' handler took 371ms bundle.js:1 [Violation] 'requestAnimationFrame' handler took 357ms bundle.js:1 [Violation] 'requestAnimationFrame' handler took 354ms bundle.js:1 [Violation] 'requestAnimationFrame' handler took 399ms bundle.js:1 [Violation] 'requestAnimationFrame' handler took 394ms bundle.js:1 [Violation] 'requestAnimationFrame' handler took 404ms bundle.js:1 [Violation] 'requestAnimationFrame' handler took 373ms
-
The issue is reproducible in vanilla Hyper.app: Is Vanilla
Issue
Since upgrading to 2.0 a few minutes ago any prompt input is incredibly laggy. Looking at the dev tools console it looks like requestAnimationFrame
handler is taking between 300-513ms to respond from a few test keystrokes I did for the purpose of this issue.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:65
- Comments:91 (9 by maintainers)
Top GitHub Comments
This is probably https://github.com/electron/electron/issues/11051, try running
hyper --ignore-gpu-blacklist
. Note that you will need to run this against the actual hyper executable, not the CLI script. For Windows this is probablyHyper.exe
, on Linux/opt/Hyper/hyper
.See https://github.com/zeit/hyper/issues/2833#issuecomment-381689454, https://github.com/zeit/hyper/issues/2839
This is very embarrassing, considering the effort you put into 2.0 After downgrading to https://github.com/zeit/hyper/releases/tag/1.4.8 everything is fine again (or at least back to the normal level of slowness 😉 ).