Performance issue due to css
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 26.8k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
Wanted to post this here for visibility, we were seeing a big slowdown our app (that does a lot of heavy DOM operations) after including driver.js' css file.
Turned out this:
https://github.com/kamranahmedse/driver.js/blob/master/src/driver.css#L139-L142
Can have a big impact since it can be a very hungry selector.
We remedied the situation by taking it out manually and core functionality still works without any issues. Hoping this helps someone in the future.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with src/driver.css lines 139-142 and reproduce the slowdown in an app performing heavy DOM operations. Compare behavior with and without the stylesheet and establish a measurable performance regression and completion criteria; the issue does not name a test or specific replacement.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css
- Domain
- frontend, performance
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100