Follow Polymer on Google+: plus.google.com/107187849809354688692
---
You received this message because you are subscribed to the Google Groups "Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to polymer-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/8af8f0be-434d-4a8f-b8b7-5c60cf2559b8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thanks for the info. Here's a screenshot of my real ui (ci build server).

On screen I'm only displaying 3 builds and that still results in 348 polymer elements and roughly 900 regular Dom elements being created at page load. Thats about 120 polymer elements for each of those builds. The performance is ok with just 3 builds.
Ideally my ui shows 50 of these builds in a scrolling list. It seems that even when using an iron list, it creates several extra items for buffering and the render delay then becomes noticeable.
Can you explain a bit more what you meant by hiding list items behind a dom-if? Isn't that the point of the iron-list, that it won't create many list elements because it only creates enough to fill the viewport plus some buffer. How does the dom-if help?
Any ideas to reduce the rendering time in general?
Summary:
1) How does the dom-if help?
2) Ideas for reducing the number of items created or lowering the initial render time?
3) Any idea when that improvement to iron-icons will be released. We use a lot of icons :)
1000 elements budget is stingy for single-page apps. Do hidden elements count against the budget?
Polymer's coding style encourages using lots of elements ("there is a component for that").Number of elements component uses is unknown to the developer, until you inspect the dom. Usually, it is surprisingly high (10 elements for paper button).
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/6053d8bb-471e-4e11-8f98-473828eb9652%40googlegroups.com.
Thanks for the info. Here's a screenshot of my real ui (ci build server).
On screen I'm only displaying 3 builds and that still results in 348 polymer elements and roughly 900 regular Dom elements being created at page load. Thats about 120 polymer elements for each of those builds. The performance is ok with just 3 builds.
Ideally my ui shows 50 of these builds in a scrolling list. It seems that even when using an iron list, it creates several extra items for buffering and the render delay then becomes noticeable.
Can you explain a bit more what you meant by hiding list items behind a dom-if? Isn't that the point of the iron-list, that it won't create many list elements because it only creates enough to fill the viewport plus some buffer. How does the dom-if help?
Any ideas to reduce the rendering time in general?
Summary:
1) How does the dom-if help?
2) Ideas for reducing the number of items created or lowering the initial render time?
3) Any idea when that improvement to iron-icons will be released. We use a lot of icons :)
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/CADBYpykxtX3X4CyPdexrbgbKRorr9mqeCKtNfVMUG_TzDZ6q5g%40mail.gmail.com.
On Fri, Sep 4, 2015 at 11:56 AM Aleem Mawani <al...@streak.com> wrote:Thanks for the info. Here's a screenshot of my real ui (ci build server).
On screen I'm only displaying 3 builds and that still results in 348 polymer elements and roughly 900 regular Dom elements being created at page load. Thats about 120 polymer elements for each of those builds. The performance is ok with just 3 builds.
Ideally my ui shows 50 of these builds in a scrolling list. It seems that even when using an iron list, it creates several extra items for buffering and the render delay then becomes noticeable.
It'll help manage the list of items for you. Generating 3-10 items is better than the entire list :)
Can you explain a bit more what you meant by hiding list items behind a dom-if? Isn't that the point of the iron-list, that it won't create many list elements because it only creates enough to fill the viewport plus some buffer. How does the dom-if help?
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/0b5c7314-cb92-4bec-a993-3466d2616a14%40googlegroups.com.