JDK-8102071 : Pre-apply CSS for default theme to controls to improve embedded performance
  • Type: Enhancement
  • Component: javafx
  • Sub-Component: controls
  • Affected Version: 8
  • Priority: P3
  • Status: Resolved
  • Resolution: Won't Fix
  • Submitted: 2013-04-20
  • Updated: 2015-06-16
  • Resolved: 2013-06-07
Related Reports
Blocks :  
Description
We see when profiling on embedded during app startup and when adding a new content for example going to a new application page. I large amount of time is spent applying CSS the first time to UI Controls. The idea here is if controls are using the default theme then we already know what properties will be applied and what cached state we will need. Is there a way that we can pre apply this in code by setting property defaults etc then setting the relevant flags as clean so we don't have to apply CSS to a control if its just default theme in default state.

Related idea to RT-29866
Comments
This is not technically feasible with style lookup.
07-06-2013

Making major as CSS is really hurting us on embedded with sometimes as much as a minute or more taken on first apply to only a simple screen.
20-04-2013