Automattic / Automattic/node-canvas
Performance bottleneck caused by _registerFont function
- Dominant language
- JavaScript
- Stars
- 10.7k
- Forks
- 1.2k
- Avg merge
- 4d 8h
- Merged PRs (30d)
- 1
Description

hello,i meet a Performance bottleneck problem caused by the function _registerFont but i dont know why this function use too much cpu cost and i dont know why i invoked this function,because im sure im not use this function in my project,i just use loadImage createCanvas Image these three function,so i guess maybe these functions invoke _registerFont?am i right?please tell me
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the reported CPU usage around _registerFont while using loadImage, createCanvas, and Image. Trace whether those calls invoke _registerFont and identify the cause of the bottleneck; done means the invocation path and performance behavior are explained with a focused fix or follow-up.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- backend, computer-graphics, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100