htmr icon indicating copy to clipboard operation
htmr copied to clipboard

perf: cache dom operations

Open CHOYSEN opened this issue 10 months ago • 0 comments

hi @pveyes, I found that a large number of repeated DOM operations during HTML conversion in my application can lead to time consumption. Eventually, I identified it as the getPropInfo function and made some modifications to it. If there is anything wrong, please let me know. Thank you for your hard work!

Before: 截屏2025-02-20 15 42 34

After:

截屏2025-02-20 15 43 31

CHOYSEN avatar Feb 20 '25 07:02 CHOYSEN