JavaFX - Applet Startup Time


We keep getting various numbers related to JavaFX applet startup time. Yes this is very important and we need a consistent way to measure this and compare. Here is an attempt..

Update:

When the page is loaded, the system time is noted using JavaScript. Time is again noted once Applet is loaded. Difference between time obtained in Applet and JavaScript is computed to be startup time. I think this will be fair and consistent way to measure startup time. This requires JavaSE 6 Update 10 and above. It will be good to try out a few times and get the average number..

<script src="http://dl.javafx.com/1.2/dtfx.js"></script> <script src="/rakeshmenonp/resource/Startup/Startup.js"></script>

User Without JavaFX
Runtime
Load
Applet
Re-load
Applet
Rakesh Menon453.000.70
Pär Dahlberg-7.270.66
Julien Buret-1.710.32
cozmint-7.831.55
Philippe Lhoste-3.420.98
Ernie Kent-4.730.66
Carl Dea - FF-5.740.63
Carl Dea - IE-3.340.74
Simon Brocklehurst-3.120.79
Tom Eugelink-2.680.64
Guido-2.560.62
GC - WinXP-64bit FF-64bitError
Carl Antaki-4.060.67
Nick Apperley-3.270.83
Andy Xie478.321.05
Wojciech Halicki-Piszko-4.450.8
Endre Stølsvik723.80-
Chui Tey - Chrome 2.0.172.43-6.952.86
Chui Tey - MSIE 8.0.6001.18702IS-3.220.70
Chui Tey - FF 3.0.10-4.130.70
JosK (Intel Core 2CPU 4300@1.8GHZ (1,93GB) 512RAM) - Chrome 2.0.172.43-4.264.08
JosK (Intel Core 2CPU 4300@1.8GHZ (1,93GB) 512RAM) - Chrome 3.0.195.21-3.981.05
JosK (Intel Core 2CPU 4300@1.8GHZ (1,93GB) 512RAM) - IE 8.0.6001.18702-8.331.06
Jonathan (Quad Core Q9300 @ 2.5GHZ, 4GB ram JRE 1.6u15)15.50-0.52
Thierry (2 year olds windows dual core basic PC)17.503.10-
Robrecht (Windows xp SP2 Intel Core 2 cpu T5600 @ 1,83GHz, 2GB Ram jre: 1.6.0_15)4.832.800.62
Venkateswara Rao Desu (Fedora 9 JDK 1.6_10)Applet not initialized
André Costa-1.910.42
Joeri Sykora (jdk 1.6.0_16 in Firefox 3.5.3)-1.020.65
Thustle (1.6.0_16 on Chrome v3 on Vista 32bit Intel Core2 Quad Q6600 2.4GHz 4GB)-9.300.74
Vance (Intel Core 2 Duo P8700 2.53GHz/1066Mhz RAM:4GB, DDR3, 1067 MHz, Ubuntu 9.10, FireFox 3.5.5, JRE: 1.6.0_15, Connection: comcast high-speed cable)7.62.30.3
Venkateswara Rao Desu (Fedora 11 Firefox 3.5.5 Sun Java Plugin)17.00-0.70
Venkateswara Rao Desu (Windows XP Java 1.6.0_18)9.3-0.38
Jor (WinXP, FF 3.5.7, Java 1.6.0_17)36-0.21

Legend:

  • Without JavaFX Runtime - After clearing Java Web Start cache - [ javaws -uninstall ] May have to wait for sometime as clearing process may be running in background. This is the time taken to download JavaFX runtime and load the applet.
  • Load Applet - Launch browser and load applet (JavaFX runtime already installed)
  • Re-Load Applet - Re-load the page after loading applet
  • Duration - specified in seconds


Please launch the applet and let me know the start-up time with system configuration and connection speed.. Thanks in advance..

Comments:

I got 7.265s on a Core2 Duo 2Ghz with 3Gb RAM running Eclipse, Firefox etc with a bit over 1Gb physical memory free.

Posted by Pär Dahlberg on August 31, 2009 at 09:53 AM IST #

first time : 1.71s , re-load : 0.32s - Core2 Duo , 4Gb RAM, ubuntu 9.04, firefox, java 6u14, 10Mb/s

Posted by Julien Buret on August 31, 2009 at 11:30 AM IST #

load: 7.83
reload: 1.545
Athlon64 3200+, 3 GB, running 12 Firefox windows

Posted by cozmint on August 31, 2009 at 07:10 PM IST #

Right, forgot the reload :)

Cleared the cache and got: 4.16s
Reload: 0.66s

Posted by Pär Dahlberg on September 01, 2009 at 05:06 AM IST #

@Pär Dahlberg "Cleared the cache and got: 4.16s" that value looks a bit too low. Also fresh load takes more time than that (7.17). May be because the javaws cache was not cleared completely?

Posted by Rakesh Menon on September 01, 2009 at 05:26 AM IST #

Got 3.42 on first load, 0.98 on second one. Did the javaws -uninstall stuff and I regret it, as I forgot JavaFX 1.2.1 is in the process of being deployed (see http://forums.sun.com/thread.jspa?threadID=5403636 thread), and the files are not currently available, so I have no more JavaFX runtime... :-( (logo is spinning infinitely).

Posted by Philippe Lhoste on September 02, 2009 at 04:29 PM IST #

@Philippe Lhoste Really sorry about "javaws -uninstall", I didn't anticipate this issue. I tried now its still installing 1.2 runtime.

Posted by Rakesh Menon on September 03, 2009 at 03:36 AM IST #

3.4GHz Intel, Windows XP, DSL @ 1360 kbps
Load Applet = 4.73
Relaod = 0.653

Posted by Ernie Kent on September 03, 2009 at 11:22 PM IST #

CPU: Dell Inspiron XPS Pentium 4 CPU 3.40GHz 3.39 GHz, and 1 gig of ram

OS: Windows XP SP3
Java: 1.6.0_16
JavaFX: 1.2
------------------------
Browser: Firefox 3.5.2
First time: 5.742 s
Re-load time: 0.73 s
Re-load time: 0.53 s
------------------------
Browser: IE 7.0.5730.13
First time: 3.344 s
Re-load time: 0.735 s
Re-load time: 0.75 s

Posted by Carl Dea on September 05, 2009 at 03:16 AM IST #

Load applet - 3.12 seconds

Reload applet - 0.79 seconds

Windows Vista, Firefox 3.5.2, Java 6 Update 15
Intel Core 2 Duo 2GHz, 2GB RAM.

Posted by Simon Brocklehurst on September 05, 2009 at 03:44 AM IST #

Thanks to all. Looking forward to have more entries, this will help to baseline and compare with next JavaFX release.

Posted by Rakesh Menon on September 07, 2009 at 03:30 AM IST #

Intal Q6600 @ 2.40GHz, Vista 64

startup: 2.678
reload: 0.641

Posted by Tom Eugelink on September 07, 2009 at 04:47 AM IST #

Hi Rakesh,

It took on my machine at work
2.596 sec.

PC Configuration:
Quad Core, 2.66 Ghz, 3.49 GB Ram, Windows XP, JVM1.6.0_B014, FF3.0.13.

Network configuration is:
Download avg 33.4 Mb/s

Ciao,
Guido

Posted by Guido on September 07, 2009 at 08:16 AM IST #

Forgot relaunch time: 0.612 s
Guido

Posted by Guido on September 07, 2009 at 08:18 AM IST #

Never started. I see the Java logo with the rotating blue circle.

Windows XP 64 bits, using Firefox 64bits (shiretoko), Jdk1.6_016 64bits, and behind a proxy.

No log in Java console.

GC.

Posted by Gc on September 07, 2009 at 08:48 AM IST #

Safari 4 on Mac OS 10.6
4GB RAM Core Two Duo
Java 6 Update 15
4.06s cold start
0.67s reload

There seems to be a problem with the refresh of the progress bar to the text as it stays forever until I resize the browser.

Posted by Carl Antaki on September 07, 2009 at 11:46 AM IST #

- Athlon64 (1GHz) with 1GB of RAM
- Ubuntu 8.04 (32 bit) with NetBeans 6.7.1 running in the background
- Applet loaded in Firefox 3.0.13 using JRE 1.6 (Update 14)

Applet Results
---------------------

Initial Applet Load - 3.27s
Applet Reload - 0.83s

Posted by Nick Apperley on September 07, 2009 at 11:44 PM IST #

Online Results
---------------------

Without Runtime - 46.956s
Initial Applet Load - 8.312s
Applet Reload - 1.049s

Offline Result
------------------------------

Without Runtime - 15.892s
Initial Applet Load - 8.873s
Applet Reload - 1.114s

Posted by Andy Xie on September 08, 2009 at 03:02 AM IST #

Pentium 4HT
Windows XP Pro
MS Outlook, Chrome, Adobe Bridge, Spark
Java Console showing

Initial Applet Load ~22 s
Applet Reload ~0.8 s

Posted by Wojciech Halicki-Piszko on September 10, 2009 at 05:27 AM IST #

Same spec without Java Console starting first - 4.445 s

Posted by Wojciech Halicki-Piszko on September 10, 2009 at 05:29 AM IST #

@Wojciech Halicki-Piszko I think the initial applet load of ~22 s was due to 1.2.1 patch update

Posted by Rakesh Menon on September 10, 2009 at 06:53 AM IST #

Apparently had to install the JavaFX junk:
71.898 s

Reload (hit reload-button of browser, right?): 3.797

Posted by Endre Stølsvik on September 11, 2009 at 09:13 AM IST #

Windows XP, Intel Core Duo, 4Gb RAM

Load Applet, Reload Applet, Browser
6.95 2.86 Chrome 2.0.172.43
3.22 0.70 MSIE 8.0.6001.18702IS
4.13 0.70 FF 3.0.10

Posted by Chui Tey on September 11, 2009 at 09:50 AM IST #

4.264/4.079 Chrome 2.0.172.43
3.983/1.046 Chrome 3.0.195.21
8.329/1.062 IE 8.0.6001.18702

WinXp
Intel Core 2CPU 4300@1.8GHZ (1,93GB)
512RAM

Posted by JosK on September 16, 2009 at 10:31 PM IST #

Quad Core Q9300 @ 2.5GHZ, 4GB ram
JRE 1.6u15

---------------------
Initial Applet Load - 15.5s
Applet Reload - 0.519s

Posted by Jonathan on September 23, 2009 at 04:18 PM IST #

I got :
First visit --> 17,5 seconds
Second : 3,1s

I have a 2 year olds windows dual core basic PC.
From my point of vue, 17,5 seconds is really too much for a Web embedded application.
I have the same problm with my application :
http://www.free-visit.com/users/tmilard/vis/Louvre_Outside_applet_maj_sept_12.html
The first attemp is too long.

I also commented my frustration in the Thread here.
http://java.dzone.com/reviews/javafx-developing-rich-0

->And I do repeat myself gain :
for a standard rich-web-applet, I think java jre takes too long to load code.
Perhaps it is because most applets have some API to load (some too heavy jars I suppose).
I will try to use pack200 but at least without pack200 we can forget about any success on the WEB era.
Don't forget that the majority of the web PC :
1) Are older than 2 years
2) the broadband is not optic fiber

Thus we get MOST of today's Rich-Applet taking more than 15 seconds to load on an average machine. Too long comparing to Flash.

I will try to Jar200 my jars, to see if for my application it does make a difference for the first loading. I am praying for it ........

Posted by Thierry on September 23, 2009 at 10:15 PM IST #

I don't know why, but it fails on firefox 3.5.3 The loading icon is still running...

In IE 7
First time 4,83 seconds, reload 0,621 seconds, after browser restart 2,8 seconds.

Windows xp SP2
Intel Core 2 cpu T5600 @ 1,83GHz, 2GB Ram
jre: 1.6.0_15

Posted by Robrecht on September 30, 2009 at 06:17 AM IST #

Mine is Fedora 9
Applet not initialized
JDK 1.6_10

Posted by Venkateswara Rao Desu on September 30, 2009 at 12:56 PM IST #

First time: 1.909 s
Re-load: 0.413 s

Posted by André Costa on September 30, 2009 at 07:28 PM IST #

I got the following timings using jdk 1.6.0_16 in Firefox 3.5.3:

First time: 1.015 s
Reload: 0.653 s

Machine: Windows Vista, Intel Core2 Duo P8700 @ 2.53GHz with 4GB RAM.

Posted by Joeri Sykora on October 07, 2009 at 12:56 PM IST #

First Time: 9.298
Reload: 0.734

1.6.0_16 on Chrome v3 on Vista 32bit.
Intel Core2 Quad Q6600 2.4GHz 4GB

Posted by Thustle on October 15, 2009 at 06:11 AM IST #

Processor:Intel Core 2 Duo P8700(2.53GHz/1066Mhz
RAM:4GB, DDR3, 1067 MHz
OS:Ubuntu 9.10 With all updates
Browser:FireFox 3.5.5
Java version:
java version "1.6.0_15"
Java(TM) SE Runtime Environment (build 1.6.0_15-b03)
Java HotSpot(TM) Server VM (build 14.1-b02, mixed mode)

First-start up time:
7.6s
After closing out browser:
2.3s
After refreshing and testing a few times in a row:
around .3s

I think Sun has some work to do. I know .3s is all that bad, but 7.6 is.

Posted by Vance on November 15, 2009 at 12:57 AM IST #

I forgot to include the connection speed. I am on comcast high-speed cable. Here are the results form Speedtest.net. I don't know if that is good source, but maybe its useful:
Download:7.45Mb/s
Upload:
6.51Mb/s

Posted by Vance on November 15, 2009 at 01:01 AM IST #

Fedora 11 Firefox 3.5.5 Sun Java Plugin

Wothout JavaFx : 17.0 Sec
Reload the same page and click start : 0.701 Sec

Posted by Venkateswara Rao Desu on December 02, 2009 at 02:44 AM IST #

Thanks a lot for all the numbers, sorry I'm a bit late in updating those numbers. I'll do it soon..

Posted by Rakesh Menon on January 13, 2010 at 08:02 AM IST #

Windows XP Java 1.6_18
First-start up time:
9.3s
After refreshing and testing a few times in a row:
around 0.38s

Posted by Venkateswara Rao Desu on February 08, 2010 at 03:47 PM IST #

No JavaFx: 36 s
Reloaded: 0.21 s

Winxp Professional 32, firefox 3.5.7, Java Plug-in 1.6.0_17 ,JRE 1.6.0_17-b04 Java HotSpot(TM) Client VM

(debug level=5 in vm console)

Posted by Jor on February 10, 2010 at 02:47 PM IST #

Post a Comment:
Comments are closed for this entry.
About


The views expressed on this blog are my own and do not necessarily reflect that of my organization

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today