{"id":13545644,"url":"https://github.com/phpbench/phpbench","last_synced_at":"2026-04-01T23:22:36.150Z","repository":{"id":31418794,"uuid":"34982189","full_name":"phpbench/phpbench","owner":"phpbench","description":"PHP Benchmarking framework","archived":false,"fork":false,"pushed_at":"2026-03-22T17:51:16.000Z","size":7040,"stargazers_count":1989,"open_issues_count":38,"forks_count":132,"subscribers_count":29,"default_branch":"master","last_synced_at":"2026-03-26T22:04:17.295Z","etag":null,"topics":["benchmark-framework","benchmarking","performance","performance-testing"],"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/phpbench.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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":"dantleech"}},"created_at":"2015-05-03T10:34:08.000Z","updated_at":"2026-03-26T07:02:50.000Z","dependencies_parsed_at":"2023-12-20T14:35:44.981Z","dependency_job_id":"c74ee405-bec8-4a10-a986-fa9f99c4c7cf","html_url":"https://github.com/phpbench/phpbench","commit_stats":{"total_commits":1229,"total_committers":72,"mean_commits":"17.069444444444443","dds":"0.16354759967453214","last_synced_commit":"70f9fdbc87b0eedf8dc1b058096a2109e5d30660"},"previous_names":[],"tags_count":83,"template":false,"template_full_name":null,"purl":"pkg:github/phpbench/phpbench","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpbench%2Fphpbench","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpbench%2Fphpbench/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpbench%2Fphpbench/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpbench%2Fphpbench/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phpbench","download_url":"https://codeload.github.com/phpbench/phpbench/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpbench%2Fphpbench/sbom","scorecard":{"id":732431,"data":{"date":"2025-08-11","repo":{"name":"github.com/phpbench/phpbench","commit":"82e2c3ff09c92e1270552345da1c59eeaeab59f7"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.7,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":5,"reason":"3 commit(s) and 3 issue activity found in the last 90 days -- score normalized to 5","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":4,"reason":"Found 11/26 approved changesets -- score normalized to 4","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: downloadThenRun not pinned by hash: bin/build-phar.sh:9","Info:   0 out of   1 downloadThenRun dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":8,"reason":"5 out of the last 5 releases have a total of 5 signed artifacts.","details":["Info: signed release artifact: phpbench.phar.asc: https://github.com/phpbench/phpbench/releases/tag/1.4.1","Info: signed release artifact: phpbench.phar.asc: https://github.com/phpbench/phpbench/releases/tag/1.4.0","Info: signed release artifact: phpbench.phar.asc: https://github.com/phpbench/phpbench/releases/tag/1.3.1","Info: signed release artifact: phpbench.phar.asc: https://github.com/phpbench/phpbench/releases/tag/1.3.0","Info: signed release artifact: phpbench.phar.asc: https://github.com/phpbench/phpbench/releases/tag/1.2.15","Warn: release artifact 1.4.1 does not have provenance: https://api.github.com/repos/phpbench/phpbench/releases/205214059","Warn: release artifact 1.4.0 does not have provenance: https://api.github.com/repos/phpbench/phpbench/releases/196838023","Warn: release artifact 1.3.1 does not have provenance: https://api.github.com/repos/phpbench/phpbench/releases/163199976","Warn: release artifact 1.3.0 does not have provenance: https://api.github.com/repos/phpbench/phpbench/releases/163198618","Warn: release artifact 1.2.15 does not have provenance: https://api.github.com/repos/phpbench/phpbench/releases/131901786"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Vulnerabilities","score":9,"reason":"1 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2023-117"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 26 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-22T14:48:21.416Z","repository_id":31418794,"created_at":"2025-08-22T14:48:21.416Z","updated_at":"2025-08-22T14:48:21.416Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31255025,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-31T18:32:52.363Z","status":"ssl_error","status_checked_at":"2026-03-31T18:32:51.507Z","response_time":111,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["benchmark-framework","benchmarking","performance","performance-testing"],"created_at":"2024-08-01T11:01:08.000Z","updated_at":"2026-04-01T23:22:36.122Z","avatar_url":"https://github.com/phpbench.png","language":"PHP","readme":"[![SWUbanner](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner-direct.svg)](https://github.com/vshymanskyy/StandWithUkraine/blob/main/docs/README.md)\n\n\u003cp  align=\"center\"\u003e\n    \u003cimg src=\"https://user-images.githubusercontent.com/530801/92305960-d2866a00-ef83-11ea-878a-10584e583da4.png\" title=\"PHPBench logo\"/\u003e\n\u003c/p\u003e\n\n[![StandWithUkraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/badges/StandWithUkraine.svg)](https://github.com/vshymanskyy/StandWithUkraine/blob/main/docs/README.md)\n[![CI](https://github.com/phpbench/phpbench/actions/workflows/ci.yaml/badge.svg)](https://github.com/phpbench/phpbench/actions/workflows/ci.yaml)\n[![Documentation](https://github.com/phpbench/phpbench/actions/workflows/documentation.yaml/badge.svg)](https://github.com/phpbench/phpbench/actions/workflows/documentation.yaml)\n[![Latest Stable Version](https://poser.pugx.org/phpbench/phpbench/v)](//packagist.org/packages/phpbench/phpbench) \n[![Total Downloads](https://poser.pugx.org/phpbench/phpbench/downloads)](//packagist.org/packages/phpbench/phpbench) \n[![License](https://poser.pugx.org/phpbench/phpbench/license)](//packagist.org/packages/phpbench/phpbench)\n\nPHPBench is a benchmark runner for PHP analogous to\n[PHPUnit](https://github.com/phpunit/phpunit) but for performance rather than\ncorrectness.\n\nFeatures include:\n\n- [Revolutions](https://phpbench.readthedocs.io/en/latest/annotributes.html#revolutions): Repeat your code many times to determine average execution\n  *time*.\n- [Iterations](https://phpbench.readthedocs.io/en/latest/annotributes.html#iterations): Sample your revolutions many times and review aggregated\n  statistical data.\n- **Process Isolation**: Each iteration is executed in a separate process.\n- [Reporting](https://phpbench.readthedocs.io/en/latest/guides/reports.html): Customizable reports and various output formats (e.g.\n  console, CSV, Markdown, HTML).\n- Report [storage](https://phpbench.readthedocs.io/en/latest/guides/storage.html) and [comparison](https://phpbench.readthedocs.io/en/latest/guides/regression-testing.html): Store benchmarks locally to be used as a\n  baseline reference, or to reference them later.\n- **Memory Usage**: Keep an eye on the amount of memory used by benchmarking\n  subjects.\n- [Assertions](https://phpbench.readthedocs.io/en/latest/annotributes.html#assertions): Assert that code is performing within acceptable limits, or\n  that it has not regressed from a previously recorded baseline.\n\nSee the [documentation](https://phpbench.readthedocs.io/en/latest/index.html)\nto find out more.\n\nInstallation\n------------\n\n```bash\ncomposer require phpbench/phpbench --dev\n```\n\nSee the [installation instructions](http://phpbench.readthedocs.io/en/latest/installing.html) for more options.\n\nDocumentation\n-------------\n\nDocumentation is hosted on [readthedocs](http://phpbench.readthedocs.io).\n\nCommunity\n---------\n\n- Follow [@phpbench](https://phpc.social/@phpbench) on Mastodon for the latest news.\n- Join the `#phpbench` channel on the Slack [Symfony\n  Devs](https://symfony-devs.slack.com/join/shared_invite/enQtMzM3NDA1NzEyMzg0LTgyNGYwYjFjMjY5YjllYWZkYTY2OWM4MDQzZTgzMmNjNGI3ZDJhYzE2Yjc4NmFmM2JiOTZjODg2MGJlM2RjMDU)\n  channel.\n\nScreenshots\n-----------\n\nRunning benchmarks and comparing against a baseline:\n\n![phpbench](https://user-images.githubusercontent.com/530801/117569074-b52e1080-b0bb-11eb-8c80-a89ce9cce1e2.png)\n\nAggregated report:\n\n![image](https://user-images.githubusercontent.com/530801/117569081-c8d97700-b0bb-11eb-91e5-fc9eaa1ac157.png)\n\nBlinken logger:\n\n![phpbench-blinken](https://user-images.githubusercontent.com/530801/92305786-4a539500-ef82-11ea-8a2c-db67968113b5.png)\n\nHTML Bar Chart:\n\n![Untitled](https://user-images.githubusercontent.com/530801/129060591-1dd984f1-8d03-4cf5-9601-7e677029e647.png)\n\nConsole Bar Chart:\n\n![Untitled](https://user-images.githubusercontent.com/530801/129060527-9cf6c0e0-15f8-4f38-a8e1-39b257ff62fd.png)\n\nContributing\n------------\n\nPHPBench is an open source project. If you find a problem or want to discuss\nnew features or improvements please create an issue, and/or if possible create\na pull request.\n","funding_links":["https://github.com/sponsors/dantleech"],"categories":["PHP","目录","Table of Contents","Performance, Debugging \u0026 Profiling","P8 Améliorez une application existante de ToDo \u0026 Co","调试和分析 Debugging and Profiling"],"sub_categories":["调试和性能分析 Debugging and Profiling","Debugging and Profiling","Performance de code"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphpbench%2Fphpbench","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphpbench%2Fphpbench","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphpbench%2Fphpbench/lists"}