Sunday, September 2, 2007

Absolutely Worthless JRoR Benchmark: Tomcat 5.5 vs. Glassfish v3

So for grins (not worth much else, was looking for something to pass the time before my kids went to sleep) I decided to compare initial page load times for the hello world between Tomcat and Glassfishv3 using the Arun Gupta's tutorial app

Tomcat 5.5.23
Initial Load: 3.229s
Subsequent Loads: 0.115 0.323 0.323s

Glassfish v3
Inital Load: 9.671s
Subsequent Loads: 3.005 0.554 0.594s

Initial Load: 1.278s
Subsequent Loads: 0.559s 0.623

For Webrick is the time to boot it was about 3-4 times as long as it took to start Tomcat and deploy app through the manager (no more than 10 seconds) but for Glassfish, deployments took anywhere from 29-52 seconds.

Not like it really matters, but the hardware/software: VMWare Debian 4.0 JRE1.6 running on aging AMD K7-1.5 with 1.2GB RAM.

franz-g4:~ mdfranz$ time wget
=> `hello.4'
Connecting to connected.
HTTP request sent, awaiting response... 200 OK
Length: 86 [text/html]

19:30:59 (1.61 MB/s) - `hello.4' saved [86/86]

real 0m3.229s
user 0m0.002s
sys 0m0.009s

No comments: