I have a simple element imported to the index.html
<link rel="import" href="elements/radio.html">
it just display radio button.
then try to create dynamically XXX elements
document.addEventListener('polymer-ready', function(){
var doc = document.createDocumentFragment(), el = null;
for(var i =100; i-- > 0;){
el = new RadioElement();
doc.appendChild(el);
}
document.body.appendChild(doc);
});
the most time-cost line is: doc.appendChild(el);
for 100 elements it take 30ms
for 300 - 26s
for 500 - more than 1 min.
Maybe I had made mistake somewhere. I stacked.