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

Perf: paper-dialog costs too much to use (130KB) #118

Open
ebidel opened this issue Jul 22, 2016 · 3 comments
Open

Perf: paper-dialog costs too much to use (130KB) #118

ebidel opened this issue Jul 22, 2016 · 3 comments
Labels

Comments

@ebidel
Copy link
Contributor

ebidel commented Jul 22, 2016

I added paper-dialog to chromestatus.com and it increases page load by 130KB. We should try to slim that down.

There are a lot of deps. One obvious one is to remove web animations. The polyfill alone is 50kb and should be feature detected + lazy loaded. Better would be to do the transitions in pure css.
The iron overlay and fit elements also add a decent weight.

@ebidel ebidel changed the title Perf: paper-dialog costs way too much to use (130KB) Perf: paper-dialog costs too much to use (130KB) Jul 22, 2016
@ebidel ebidel added the perf label Jul 22, 2016
@abdonrd
Copy link
Member

abdonrd commented Jul 22, 2016

Also, the paper-dialog import the Roboto font:

paper-dialog-shared-styles.html > paper-styles/typography.html > font-roboto/roboto.html

@jpodwys
Copy link

jpodwys commented Oct 3, 2017

Will there be any update on this?

@ymaz
Copy link

ymaz commented Jun 12, 2018

up

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

No branches or pull requests

4 participants