Hey there!
We're considering using your library so I wrote up a little
benchmarking program to compare your library with Ehcache (2.x) and
JCS (1.3). You will be pleased to know that your library smoked the
competition!
This test created an in memory cache (max size 2000 records) backed
by a file system cache. This cache was then used to put 3000 objects
(1000 spilling to disk) followed by 300 gets (spaced evenly),
causing some expected cache misses and disk references. The results
for each library are as follows:
jcs = 28.260615833s
mapdb = 0.385666594s
ecache = 0.490844965s
When this test is performed with a max memory cache size of 20,000
records and 30,000 puts (followed by 3000 gets) the results are:
mapdb = 3.817517903s
ecache = 4.119665308s
You will notice that JCS is no longer listed. This is because JCS (
despite
their wild claims) never finishes the test! I stopped it after
10 minutes, it may presumably take hours to finish and I don't have
the time to wait around for it. It is possible that I have JCS
misconfigured?
So there it is! My source code for this test is attached. This test
was performed with Java 8.