benchmarks icon indicating copy to clipboard operation
benchmarks copied to clipboard

Java8

Open dawi opened this issue 11 years ago • 0 comments

I've update the benchmark to use the latest spring, java and caliper versions.

I also added a new benchmark named "ManualCachingWithCacheManager". It shows, how to use Springs CacheManager abstraction programmatically without using @Cachable and thus any proxying overhead.

Advantage of such a solution is:

  • Can be easily integrated in any existing solution that already uses Springs Cache Abstraction.
  • So the full power of the underlying caching framework (e.g ehcache) is still available.
  • But with much better performance than using @Cachable (ok, it only matters in rare cases, but sometimes it does).

The latest benchmark results from my machine can be found here: https://microbenchmarks.appspot.com/runs/4033fd80-a4d0-4a8d-89a1-af3bc80e27c2#r:scenario.benchmarkSpec.methodName

dawi avatar Dec 21 '14 20:12 dawi