Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

investigate performance with 1000s of svg sprite icons #16

Open
evanwill opened this issue Dec 23, 2020 · 1 comment
Open

investigate performance with 1000s of svg sprite icons #16

evanwill opened this issue Dec 23, 2020 · 1 comment

Comments

@evanwill
Copy link
Contributor

random issues on Browse with lots of icon items seeming to cause browser to go unresponsive---but can't consistently reproduce issue??

on Timeline having all icons is somewhat noticeably slower than text only (i.e. if removed all thumbs), but about same speed as having all thumb images lazyloading. The old non-column layout used in cb-cdm-template seems faster than newer layout.

I can't tell if this is related to svg sprites or just having too much markup on a page in general.

@evanwill
Copy link
Contributor Author

evanwill commented Jan 5, 2021

icon sprites seem to be faster if included directly on page (rather than external file) and if not sized with % inside parent (i.e. don't use w-50, this seems to really slow it down--i guess it makes the layout recalculate a lot or something?).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant