{"id":37731457,"url":"https://github.com/cache2k/cache2k-benchmark","last_synced_at":"2026-01-16T13:51:11.544Z","repository":{"id":12620817,"uuid":"15292023","full_name":"cache2k/cache2k-benchmark","owner":"cache2k","description":"Benchmarks for cache2k and third-party Java caching products","archived":false,"fork":false,"pushed_at":"2024-02-29T05:08:46.000Z","size":42489,"stargazers_count":42,"open_issues_count":6,"forks_count":12,"subscribers_count":4,"default_branch":"master","last_synced_at":"2026-01-13T21:44:32.908Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://cache2k.org/benchmarks.html","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cache2k.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"cache2k"}},"created_at":"2013-12-18T19:20:33.000Z","updated_at":"2025-01-31T16:15:46.000Z","dependencies_parsed_at":"2023-01-11T20:19:09.081Z","dependency_job_id":null,"html_url":"https://github.com/cache2k/cache2k-benchmark","commit_stats":null,"previous_names":["headissue/cache2k-benchmark"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/cache2k/cache2k-benchmark","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cache2k%2Fcache2k-benchmark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cache2k%2Fcache2k-benchmark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cache2k%2Fcache2k-benchmark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cache2k%2Fcache2k-benchmark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cache2k","download_url":"https://codeload.github.com/cache2k/cache2k-benchmark/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cache2k%2Fcache2k-benchmark/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28479034,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-16T13:51:10.863Z","updated_at":"2026-01-16T13:51:11.528Z","avatar_url":"https://github.com/cache2k.png","language":"Java","readme":"# Benchmarks for Java In Memory Caches.\n\nThis project benchmarks Java caches via JMH and also eviction efficiency by\nplaying back access traces.\n\nPlease see the [cache2k homepage - Benchmarks](http://cache2k.org/benchmarks.html) \nfor a discussion of the benchmark results.\n\n## Running the eviction benchmarks\n\nThe benchmarks are can be run via JUnit and the Maven surefire plugin.\n\n```\nmvn -DskipTests clean install; mvn -Dtest=EvictionComparisonBenchmark -pl thirdparty test\n```\n\n## Running the JMH benchmarks\n\nTo run the JHM benchmark suite:\n\n```\n# compile\nmvn -DskipTests clean package\n# run full suite with maximum detail\nbash jmh-run.sh --diligent complete\n# Alternatively the generated commands can be printed to start JMH manually:\nbash jmh-run.sh --diligent --dry complete\n```\n\n## Traces\n\nTraces which are used within the benchmarks to measure cache efficiency on real world access patterns.\n\nFor each trace a Java class is available to read the trace into memory and to calculate\nbasic metrics on it. The traces are represented as compressed file with 4-byte integers.\n\nThe original source of the trace Cpp, Glimpse, Multi2 and Sprite is from the authors of these\npapers:\n\n  * J. Kim, J. Choi, J. Kim, S. Noh, S. Min, Y. Cho, and C. Kim,\n    \"A Low-Overhead, High-Performance Unified Buffer Management Scheme\n    that Exploits Sequential and Looping References\",\n    *4th Symposium on Operating System Design \u0026 Implementation, October 2000.*\n  *  D. Lee, J. Choi, J. Kim, S. Noh, S. Min, Y. Cho and C. Kim,\n    \"On the Existence of a Spectrum of Policies that Subsumes the Least Recently Used\n     (LRU) and Least Frequently Used (LFU) Policies\", *Proceeding of 1999 ACM\n     SIGMETRICS Conference, May 1999.*\n\nThe OLTP trace was used within the ARC paper:\n\n  * Nimrod Megiddo and Dharmendra S. Modha, \"ARC: A Self-Tuning, Low Overhead \n    Replacement Cache,\" USENIX Conference on File and Storage Technologies (FAST 03), \n    San Francisco, CA, pp. 115-130, March 31-April 2, 2003. \n\nThe traces Web07,  Web12, OrmAccessBusy and OrmAccessNight are application traces \nprovided by headissue GmbH under the CC BY 4.0 license.\n","funding_links":["https://github.com/sponsors/cache2k"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcache2k%2Fcache2k-benchmark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcache2k%2Fcache2k-benchmark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcache2k%2Fcache2k-benchmark/lists"}