The JSR 107 set a tentative performance goal for a
cache at <2x a Hastable.
JCS, using the LRUMemoryCache, is exceeding this
performance goal. Here are aome results from a few
simple tests:
------------------------------------------
Finished 20 loops of 50000 gets and puts
Put average for JCS = 235
Put average for Hashtable = 157
JCS puts took 1.4968153 times the Hashtable, the goal
is <2x
Get average for JCS = 132
Get average for Hashtable = 99
JCS gets took 1.3333334 times the Hashtable, the goal
is <2x
------------------------------------------
Finished 20 loops of 50000 gets and puts
Put average for JCS = 247
Put average for Hashtable = 167
JCS puts took 1.4790419 times the Hashtable, the goal
is <2x
Get average for JCS = 131
Get average for Hashtable = 100
JCS gets took 1.31 times the Hashtable, the goal is
<2x
------------------------------------------
Finished 20 loops of 50000 gets and puts
Put average for JCS = 242
Put average for Hashtable = 170
JCS puts took 1.4235294 times the Hashtable, the goal
is <2x
Get average for JCS = 138
Get average for Hashtable = 102
JCS gets took 1.3529412 times the Hashtable, the goal
is <2x
------------------------------------------
Finished 20 loops of 50000 gets and puts
Put average for JCS = 242
Put average for Hashtable = 164
JCS puts took 1.4756098 times the Hashtable, the goal
is <2x
Get average for JCS = 135
Get average for Hashtable = 100
JCS gets took 1.35 times the Hashtable, the goal is
<2x
__________________________________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]