hg: openjfx/2.1/master: Added build scripts that are needed for building UI controls.
Igor Nekrestyanov
igor.nekrestyanov at oracle.com
Tue Dec 6 13:09:17 PST 2011
On 12/6/11 12:39 PM, Richard Bair wrote:
>>> We use Ant for all the builds, although there is some concern about how we'll go about doing things when we get integrated into the JDK (where they use make... yikes!). We use a little make as well for building the native parts (media, webkit, glass).
>> Basically you're building one big monolitic jar. From a startup speed perspective that may not be the best choice.
> I'm not sure of the current numbers, but I know that previously we did comparisons and the monolithic jar was faster at startup (and smaller at download since we pack200 the whole thing), but that analysis may have been with WebStart (since that is how the 1.x platform shipped), and not with the installer variety. Igor do you know?
yes, for webstart based deployment single jar is clearly superior from
the startup standpoint.
I am not sure that splitting into multiple jars helps startup much
unless a lot of these jars are not used.
You mostly save on reading fewer data from zip directory but reading
multiple files may be more expensive as you do not benefit from disk
prefetching.
I am not sure what is current size of zip directory for jfxrt.jar but it
is likely to be couple of hundreds Kb i think (and controls only part is
smaller).
This needs to be measured again of course but my gut feeling we will not
win much.
-igor
More information about the openjfx-dev
mailing list