frinyvonnick / frinyvonnick/node-html-to-image
Is it possible to reuse the puppeteer instance for better performance?
- Dominant language
- TypeScript
- Stars
- 887
- Forks
- 124
- PR merge metrics
- No merged PRs in 30d
Description
What is your recommended settings to maximize performance in the following case:
1. Small HTMLs usually resulting jpeg images of 10K-50K in size
2. HTML content is 100% trusted
3. HTML is send via data uri
4. The image is returned in memory as a buffer and not saved to disk.
Thanks!
Contributor guide
No contributing guide indexed for this repository
Research direction
No file, test, or entry point is identified in the issue. Start by locating how the module creates and closes its Puppeteer instance, then evaluate the trusted data-URI, in-memory JPEG workload described here. Done means an agreed recommendation for instance reuse and performance settings, supported by measurements for the stated case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- backend, performance
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100