{"id":14972140,"url":"https://github.com/hyperized/benchmark","last_synced_at":"2025-10-26T17:31:29.414Z","repository":{"id":49433676,"uuid":"119590899","full_name":"hyperized/benchmark","owner":"hyperized","description":"PHP Server benchmarking","archived":false,"fork":false,"pushed_at":"2024-06-24T04:44:28.000Z","size":52,"stargazers_count":16,"open_issues_count":14,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-31T21:52:54.532Z","etag":null,"topics":["benchmark","cpu","disk","mysql","mysqli","php","php7","server"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hyperized.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-01-30T20:32:55.000Z","updated_at":"2023-03-09T13:43:27.000Z","dependencies_parsed_at":"2022-09-24T03:31:36.711Z","dependency_job_id":null,"html_url":"https://github.com/hyperized/benchmark","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperized%2Fbenchmark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperized%2Fbenchmark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperized%2Fbenchmark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperized%2Fbenchmark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hyperized","download_url":"https://codeload.github.com/hyperized/benchmark/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238375234,"owners_count":19461569,"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":["benchmark","cpu","disk","mysql","mysqli","php","php7","server"],"created_at":"2024-09-24T13:46:26.643Z","updated_at":"2025-10-26T17:31:29.035Z","avatar_url":"https://github.com/hyperized.png","language":"PHP","readme":"# PHP benchmark\n[![Build Status](https://scrutinizer-ci.com/g/hyperized/benchmark/badges/build.png?b=master)](https://scrutinizer-ci.com/g/hyperized/benchmark/build-status/master) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/hyperized/benchmark/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/hyperized/benchmark/?branch=master)\n[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fhyperized%2Fbenchmark.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fhyperized%2Fbenchmark?ref=badge_shield)\n\nSimple PHP server benchmarking.\n\nThis tool can help you determine if a hosting environment is suited for your projects in terms of:\n- PHP.ini settings that affect uploads;\n- CPU speed available to your PHP instance;\n- Disk IOPS available to your PHP instance;\n- MySQL query speed;\n\n## How to install:\n    composer create-project hyperized/benchmark:dev-master\n    \nCopy the `/config/config.yml.example` to `/config/config.yml` and adjust to your preferences.\n    \n## How to run:\n\n### Locally with CLI\n    php benchmark.php\n\n### Locally with development server\n\n    php -S localhost:8000 benchmark.php\n    \n### Remotely\nInstall on the server by running composer and visiting the `/benchmark.php` page of the directory the project is installed at.\n\n### Security\nNote that you might want to add additional security to your server to not expose the config.yml file to your webtraffic.\n\nFor Apache with `mod_rewrite` you can use something like this in your `.htaccess` file:\n\n    \u003cFiles \"config.yml\"\u003e\n        deny from all\n    \u003c/Files\u003e\n\n## Contribution\nI'm open to improvements and new benchmarks via [pull requests](https://github.com/hyperized/benchmark/pulls)\n\nIssues can be reported through [Issues](https://github.com/hyperized/benchmark/issues).\nPlease include the full output of the script and your config file without the password.\n\n## Credit\nCredit where credit is due:\n\n- https://github.com/odan/benchmark-php\n- https://gist.github.com/RamadhanAmizudin/ca87f7be83c6237bb070\n- https://stackoverflow.com/a/25370978/1757763\n- http://php.net/manual/en/function.rmdir.php#119949\n\n\n## License\n[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fhyperized%2Fbenchmark.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fhyperized%2Fbenchmark?ref=badge_large)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperized%2Fbenchmark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhyperized%2Fbenchmark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperized%2Fbenchmark/lists"}