Open hoschi opened 6 years ago
Could this be related to https://github.com/onivim/oni/issues/2370?
It might also be worth updating to the latest release, just so we know that isn't the issue.
@hoschi Oni for Arch has been updated to 0.3.6, can you check if this still persists?
@CrossR @badosu I tried 0.3.6 and master. Also suggestions from linked issue and disabled animation and type prediction. Problem still persists.
Thanks for reporting the issue @hoschi (and testing on the latest version)!
A performance profile would be really helpful (like the one attached to #2370) - can help us narrow down where the bottleneck is 💯
In addition, which filetype are you seeing this? Is it typescript?
@bryphe it is JavaScript and here is the profile :wink: Profile is with version 0.3.6, just say it if you want master instead.
Oni Version: 0.3.4 Neovim Version (Linux only):
Operating System:Arch
Issue:
Sometime it takes "forever" to get a new line after pressing
<enter>
at the end of the line. WithoutI don't even get one, I press enter and it just removes my comma in the example below.
Expected behavior: Slow as hell!
Actual behavior: Fast as heaven :grin:
Steps to reproduce:
type
.array,<enter>
, where "array" is a property of PropTypes and type it fast enough the completion popup doesn't come up. When the popup come up, it is still slow but a little bit faster.Performance analysis with 246ms block selected which should not be there.