The PDF file created by createPDFStream becomes larger in size, and createWriteStream is very slow
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Active
- Tech stack
- javascript, node.js
- Domain
- backend, performance
Research direction
Start by reproducing the reported behavior through createPDFStream and createWriteStream on node-canvas 4.0.0-rc3 with Node v20.19.0 on Linux, using many text-to-PDF conversions. Compare PDF size and write speed, then identify the regression and add coverage for the corrected behavior; the issue does not name specific files or tests.
Written by the indexing model from the issue text.
Description
Version of node-canvas
4.0.0-rc3
Version of node
v20.19.0
What operating system does the problem occur on?
Linux
Steps to reproduce
Create a large number of text-to-PDF conversions to achieve the desired result.
Additional information/comments
No response
- Dominant language
- JavaScript
- Stars
- 10.7k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing 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.
More from Automattic/node-canvas
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Automattic/node-canvas#2633 ·
-
Feature Text & Fonts
Difficulty 1/5 Under an hour Newbie friendliness 78/100
Automattic/node-canvas#2364 · 3 comments · 2 reactions ·
-
Feature
Difficulty 4/5 3-5 days Newbie friendliness 48/100
Automattic/node-canvas#2621 ·
-
actualBoundingBoxLeft has the sign inverted relative to canvas's own rasteriser (3.2.0, 3.2.3)Possibly taken @florianaltendorfer claimed this 13 days ago. OpenBug
Difficulty 3/5 1-2 days Newbie friendliness 68/100
Automattic/node-canvas#2620 · 1 comment ·
-
Bug
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Automattic/node-canvas#2619 · 1 comment ·
All issues in Automattic/node-canvas
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
capricorn86/happy-dom#2594 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
microsoft/monaco-editor#5575 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
Shrinking an array with `length =` and growing it back loses the patches for the truncated indicesPossibly taken @RClaudiuM claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 4 days