{"id":21149017,"url":"https://github.com/macopedia/cache_benchmark","last_synced_at":"2025-07-05T02:32:23.755Z","repository":{"id":149170480,"uuid":"13798486","full_name":"macopedia/cache_benchmark","owner":"macopedia","description":"TYPO3 Cache Backend benchmark tool","archived":false,"fork":false,"pushed_at":"2013-11-08T19:49:20.000Z","size":136,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-30T03:48:54.984Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/macopedia.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-10-23T09:18:07.000Z","updated_at":"2013-11-12T21:01:07.000Z","dependencies_parsed_at":"2023-03-30T16:22:37.963Z","dependency_job_id":null,"html_url":"https://github.com/macopedia/cache_benchmark","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/macopedia/cache_benchmark","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macopedia%2Fcache_benchmark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macopedia%2Fcache_benchmark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macopedia%2Fcache_benchmark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macopedia%2Fcache_benchmark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/macopedia","download_url":"https://codeload.github.com/macopedia/cache_benchmark/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macopedia%2Fcache_benchmark/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263671747,"owners_count":23494027,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2024-11-20T09:30:29.332Z","updated_at":"2025-07-05T02:32:23.737Z","avatar_url":"https://github.com/macopedia.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"cache_benchmark\n===============\n\nTYPO3 Cache Backend benchmark tool.\nThis tool was started as a port of magento-cache-benchmark created by Colin Mollenhour. See https://github.com/colinmollenhour/magento-cache-benchmark\nThanks Colin!\n\n### USAGE\n\n    php typo3/cli_dispatch.phpsh extbase cachebenchmark:initdataset\n    bash typo3temp/cachebench/default/run.sh\n\n\nBy default it's testing fileCacheBackend used by \"benchmark_cache\" configured in ext_localconf.php\nYou can change the cache used by the tool by changing the $benchmarkCacheName property of CacheBenchmarkCommandController class.\n\n## FEATURES\n\n* Flexible dataset generation via options to init command\n* Repeatable tests. Dataset is written to static files so the same test can be repeated, even with different backends.\n* Test datasets can easily be zipped up and copied to different environments or shared.\n* Can easily test multiple pre-generated datasets.\n* Supports multi-process benchmarking, each process with a different set of random operations.\n* Cache record data size, number of tags, expiration, popularity and volatility are all randomized.\n* Right now it supports only taggable cache backends\n\n## EXAMPLE RUN\n\n    Loading default test data..., cache name: benchmark_cache\n    Loaded 10000 cache records in 2.86 seconds (2.6558 seconds cache time). Data size is 5015.8K\n    Cache Configuration:\n    array (\n       'benchmark_cache' =\u003e\n       array (\n         'backend' =\u003e 'TYPO3\\\\CMS\\\\Core\\\\Cache\\\\Backend\\\\FileBackend',\n       ),\n     )\n    Benchmarking 4 concurrent clients, each with 50000 operations...\n    4 concurrent clients completed in 27 seconds\n\n             |   reads|  writes|  cleans\n    ------------------------------------\n    Client  3|21375.45| 2855.82|    2.53\n    Client  1|21803.16| 1603.37|    1.86\n    Client  0|21804.63| 2858.39|    1.98\n    Client  2|21705.74| 2678.36|    1.85\n    ------------------------------------\n    ops/sec  |86688.98| 9995.94|    8.22\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmacopedia%2Fcache_benchmark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmacopedia%2Fcache_benchmark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmacopedia%2Fcache_benchmark/lists"}