New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fit-textareas
causing major performance issue when typing in PR description textarea with Chrome
#4275
Comments
I'm seeing the same thing (or rather, the slowdown. I haven't profiled it). E.g. in jestjs/jest#11033, but it happens in every PR for me (although the lag/delay gets worse the larger the diff is). This is using 21.4.23, which I think is the latest?
Same for me 🙂 Testing in a larger PR at work - just hitting record in performance tab and writing "asdasdasdasdasdasd" takes 17s seconds to appear Every keypress is 750-850ms Horrible colors, but it say 7868.3 |
I'll revert this change in the next release, let's see how it will be. The strange part is that I reopened fregante/fit-textarea#14 |
We are going to revert the change in the next release. |
fit-textarea
causing major performance issue when typing in PR description textarea with Chromefit-textareas
causing major performance issue when typing in PR description textarea with Chrome
Feature disabled via hotfix for the time being |
With the
fit-textarea
feature enabled inrefined-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.
The text was updated successfully, but these errors were encountered: