question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`fit-textareas` causing major performance issue when typing in PR description textarea with Chrome

See original GitHub issue

With 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: image

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:closed
  • Created 2 years ago
  • Reactions:3
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
fregantecommented, Apr 26, 2021

Feature disabled via hotfix for the time being

1reaction
yakov116commented, Apr 26, 2021

We are going to revert the change in the next release.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found