PolymerElements / paper-input

A Material Design text field
https://www.webcomponents.org/element/PolymerElements/paper-input
130 stars 162 forks source link

paper-input-char-counter memory leaks #581

Open arkihillel opened 6 years ago

arkihillel commented 6 years ago

Description

Benchmark paper-input-char-counter (using poly-perf for example). This is not the case with other paper-input components

Expected outcome

Instantiation times should be more or less stable

Actual outcome

Each new instance takes longer to instantiate than the previous one

2017-10-20 11_08_18-ubuntu 16 04 snapshot 2 running - oracle vm virtualbox _ 1

Browsers Affected

madiganz commented 6 years ago

From digging further into this, it looks like there is a memory leak that is happening somewhere in paper-input-behavior.html. I am working on trying to determine exactly where it is happening. Not sure if the Polymer team is aware of this.