Closed
Description
Describe the bug
When SVG elements are rendered to the page it causes a big performance slow down.
Parsing the HTML happens instantly, but then there is a presentation delay of over 500 ms
Reproduction
https://github.com/SaintPepsi/unplugin-icons-performance-issue-minimal-reproduction
Logs
No response
System Info
System:
OS: macOS 14.4.1
CPU: (10) arm64 Apple M2 Pro
Memory: 167.08 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 21.7.2 - /opt/homebrew/bin/node
Yarn: 1.22.21 - ~/.nvm/versions/node/v18.16.1/bin/yarn
npm: 10.6.0 - /opt/homebrew/bin/npm
pnpm: 8.14.1 - ~/.nvm/versions/node/v18.16.1/bin/pnpm
bun: 1.0.3 - ~/.bun/bin/bun
Browsers:
Chrome: 124.0.6367.91
Safari: 17.4.1
npmPackages:
svelte: ^5.0.0-next.120 => 5.0.0-next.120
Severity
annoyance
Metadata
Metadata
Assignees
Labels
No labels