Browser hangs in revealInToc
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 245
- Forks
- 80
- Avg merge
- 10h 46m
- Merged PRs (30d)
- 2
Description
With a bit of fast scrolling, I'm able to hang my browser pretty easily on the output of ecmarkup. I'm not sure if I can give great repro steps on this one, but here's a profile you can try out in a Chromium profiler
Profile-20200910T160353.json.txt

Contributor guide
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 by opening the attached Chromium profiler profile and tracing the revealInToc activity during fast scrolling. Investigate the reported browser hang using that profile and verify that scrolling the generated ecmarkup output no longer makes the browser unresponsive.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100