Performance issue with large spec
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 25.9k
- Forks
- 2.4k
- Avg merge
- 13h 10m
- Merged PRs (30d)
- 4
Description
I have implemented ReDoc using the standalone file served from the CDN (https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js) using a rather large spec (1.86MB), and once it finally renders, the resulting page is basically unusable. Interactions on the page take >1s. The page can be viewed here.
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 with the linked reproduction and the CDN-served redoc.standalone.js bundle using the reported 1.86MB specification. Measure rendering and interaction responsiveness, then identify the relevant rendering path; done means the large spec produces a usable page with interactions no longer taking over one second.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- documentation, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100