Vaadin Grid$Column.setHeaderCaption() performance

Hi,

We record and analyze some jvm FlightRecoder files.
They are showing that Grid$Column.setHeaderCaption() method is quite heavy.
Main point is that all caption values are parsed no matter are they html or not.
It would be nice to be skip parsing (for example setting caption mode=Text if HTML is default)

        public Column setHeaderCaption(String caption)
                throws IllegalStateException {
...
            caption = Jsoup.parse(caption).text();
...
        }

Hi,

that sounds like a valid concern; you should file a ticket in GitHub: https://github.com/vaadin/vaadin-combo-box/issues