{"id":13671128,"url":"https://github.com/boa-dev/criterion-compare-action","last_synced_at":"2026-03-08T06:32:33.120Z","repository":{"id":37817378,"uuid":"209414477","full_name":"boa-dev/criterion-compare-action","owner":"boa-dev","description":"⚡️📊 Compare the performance of Rust project branches","archived":false,"fork":false,"pushed_at":"2025-04-29T18:10:04.000Z","size":861,"stargazers_count":68,"open_issues_count":26,"forks_count":27,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-02-11T11:10:02.168Z","etag":null,"topics":["benchmark","criterion","github-actions","hacktoberfest","rust"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/boa-dev.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-09-18T22:27:53.000Z","updated_at":"2025-12-28T21:15:32.000Z","dependencies_parsed_at":"2023-02-14T15:01:03.139Z","dependency_job_id":"f591b965-7d70-4302-82a8-340089defd6a","html_url":"https://github.com/boa-dev/criterion-compare-action","commit_stats":{"total_commits":103,"total_committers":16,"mean_commits":6.4375,"dds":0.7572815533980582,"last_synced_commit":"59f4d964c5f19d7f13d36f5c0944b18ce6652cb0"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/boa-dev/criterion-compare-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boa-dev%2Fcriterion-compare-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boa-dev%2Fcriterion-compare-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boa-dev%2Fcriterion-compare-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boa-dev%2Fcriterion-compare-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/boa-dev","download_url":"https://codeload.github.com/boa-dev/criterion-compare-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boa-dev%2Fcriterion-compare-action/sbom","scorecard":{"id":246163,"data":{"date":"2025-08-11","repo":{"name":"github.com/boa-dev/criterion-compare-action","commit":"59f4d964c5f19d7f13d36f5c0944b18ce6652cb0"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.4,"checks":[{"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":"Code-Review","score":8,"reason":"Found 8/9 approved changesets -- score normalized to 8","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":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"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":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","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":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/checks.yml:1","Warn: no topLevel permission defined: .github/workflows/pr-main.yml:1","Info: no jobLevel write permissions found"],"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: ISC 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":"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":"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":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Pinned-Dependencies","score":1,"reason":"dependency not pinned by hash detected -- score normalized to 1","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/checks.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/boa-dev/criterion-compare-action/checks.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pr-main.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/boa-dev/criterion-compare-action/pr-main.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pr-main.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/boa-dev/criterion-compare-action/pr-main.yml/main?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating rust to rust@sha256:5fa1490d5cd16725196511190baad604ddebedcd6e52f1036de46a1a75c85bce","Warn: downloadThenRun not pinned by hash: Dockerfile:14","Warn: npmCommand not pinned by hash: Dockerfile:22","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 containerImage dependencies pinned","Info:   0 out of   1 downloadThenRun dependencies pinned","Info:   1 out of   2 npmCommand 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":"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":"Vulnerabilities","score":7,"reason":"3 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-h5c3-5r3r-rr8q","Warn: Project is vulnerable to: GHSA-rmvr-2pp2-xj38","Warn: Project is vulnerable to: GHSA-xx4v-prfh-6cgc"],"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 29 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-17T07:39:02.191Z","repository_id":37817378,"created_at":"2025-08-17T07:39:02.191Z","updated_at":"2025-08-17T07:39:02.191Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30247361,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-08T05:41:50.788Z","status":"ssl_error","status_checked_at":"2026-03-08T05:41:39.075Z","response_time":56,"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":["benchmark","criterion","github-actions","hacktoberfest","rust"],"created_at":"2024-08-02T09:01:00.173Z","updated_at":"2026-03-08T06:32:33.029Z","avatar_url":"https://github.com/boa-dev.png","language":"JavaScript","readme":"# criterion-compare\n\nCompare the performance of a PR against the base branch.\n\n---\n\n\u003e ⚠️ Performance benchmarks provided by this action may fluctuate as load on GitHub Actions does. Run benchmarks locally before making any decisions based on the results.\n\nA GitHub action that will compare the benchmark output between a PR and the base branch, using the project's [criterion.rs](https://github.com/bheisler/criterion.rs/) benchmarks.\n\n## Example\n\n![Example benchmark comparison comment](image.png)\n\n## Usage\n\nCreate a `.github/workflows/pull_request.yml` file in your repo:\n\n```yml\non: [pull_request]\nname: benchmark pull requests\njobs:\n  runBenchmark:\n    name: run benchmark\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: boa-dev/criterion-compare-action@v3\n        with:\n          cwd: \"subDirectory (optional)\"\n          # Optional. Compare only this package\n          package: \"example-package\"\n          # Optional. Compare only this benchmark target\n          benchName: \"example-bench-target\"\n          # Optional. Disables the default features of a crate\n          defaultFeatures: false\n          # Optional. Features activated in the benchmark\n          features: \"async,tokio-support\"\n          # Needed. The name of the branch to compare with. This default uses the branch which is being pulled against\n          branchName: ${{ github.base_ref }}\n          # Optional. Default is `${{ github.token }}`.\n          token: ${{ secrets.GITHUB_TOKEN }}\n```\n\n## Troubleshooting\n\n### `Unrecognized option: 'save-baseline'`\n\nIf you encounter this error, you can check [this Criterion FAQ](https://bheisler.github.io/criterion.rs/book/faq.html#cargo-bench-gives-unrecognized-option-errors-for-valid-command-line-options), to find a workaround.\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboa-dev%2Fcriterion-compare-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboa-dev%2Fcriterion-compare-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboa-dev%2Fcriterion-compare-action/lists"}