`fit-textareas` causing major performance issue when typing in PR description textarea with Chrome
See original GitHub issueWith the fit-textarea
feature enabled in refined-github@21.4.23
, I’m experiencing a severe performance degradation when typing in a PR description textarea. Each letter appears to be taking ~500ms to be handled, making the feature unusable as it takes multiple seconds for a few words to appear.
Performance profile shows this line taking 1.5s per call:
Disabling the fit-textarea
feature removes the delay.
I’ve uploaded the Chrome performance profile json file here: https://gist.githubusercontent.com/with-heart/f0d3b0914d2c25e6f635d82f91404e10/raw/af6e016d11ddf07e73a4459a6f40b1cc4ad58885/refined-github-performance-profile.json
This issue appears to be related to #4266.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Issue 237433 in chromium: Editing textarea with lots of text is ...
Editing a textarea with lots of text is noticeably slow. Open up attached test case in Firefox and in Chrome. Once loaded, navigation...
Read more >How to Fix Input Lag and Slow Performance in Google Chrome
There are several things that can cause poor Chrome performance and input lag. Regardless of your issue, a solution exists.
Read more >Editing textarea with lots of text is slow if spellcheck=true
Deletes and inserts (backspace and typing) are also slow in Chrome; slight lag in Firefox, but virtually none. Cause: Presumably there are some...
Read more >fitTextarea taking a long time on long PRs #3031 - GitHub
Yes this is an issue with the way the fit-textarea module works: Resets height; Calculates minimum height; Sets height again.
Read more >sindresorhus/refined-github (Raised $2,687.94) - Issuehunt
`fit-textareas` causing major performance issue when typing in PR description textarea with Chrome. Unfunded#4275created bywith-heart.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Feature disabled via hotfix for the time being
We are going to revert the change in the next release.