We have seen data to suggest that we could have major performance gains in startup of applications using FXML if we use some specialized / clever .class files instead of actually parsing an XML document or binary XML document. This appears particularly true on iOS where processing overhead (particularly in Java on interpreter) is painful. Instead we should look at compiling FXML files into .class files as an optional step in the application build process and loading those, similar to how we handle bss files and such for CSS.
- duplicates
-
JDK-8097932 Ability to generate Java code from fxml
-
- Closed
-
-
JDK-8102827 Enable possibility to export the scene/root as a POJO.
-
- Closed
-