{"id":24228785,"url":"https://github.com/blacha/hyperfine-action","last_synced_at":"2025-09-22T21:30:49.533Z","repository":{"id":54312336,"uuid":"213821917","full_name":"blacha/hyperfine-action","owner":"blacha","description":"Run hyperfine on every commit to monitor performance regressions","archived":false,"fork":false,"pushed_at":"2023-10-28T19:49:17.000Z","size":1469,"stargazers_count":18,"open_issues_count":2,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-05-28T22:01:05.020Z","etag":null,"topics":["benchmark","continuous-benchmarking","continuous-integration","profiling"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/blacha.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,"governance":null}},"created_at":"2019-10-09T04:37:39.000Z","updated_at":"2024-05-28T22:01:05.021Z","dependencies_parsed_at":"2022-08-13T11:40:56.992Z","dependency_job_id":"fd73c5d7-5bed-43c7-a9cb-b377ddcd8bf2","html_url":"https://github.com/blacha/hyperfine-action","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blacha%2Fhyperfine-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blacha%2Fhyperfine-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blacha%2Fhyperfine-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blacha%2Fhyperfine-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blacha","download_url":"https://codeload.github.com/blacha/hyperfine-action/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233885608,"owners_count":18745617,"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","continuous-benchmarking","continuous-integration","profiling"],"created_at":"2025-01-14T11:32:53.070Z","updated_at":"2025-09-22T21:30:48.846Z","avatar_url":"https://github.com/blacha.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hyperfine-action\n\n[![Build](https://github.com/blacha/hyperfine-action/actions/workflows/build.yml/badge.svg)](https://github.com/blacha/hyperfine-action/actions/workflows/build.yml)\n\n\nRuns [Hyperfine](https://github.com/sharkdp/hyperfine) as a github action and stores the result as a Github page.\n\nExample Repo [Actions](https://github.com/blacha/hyperfine-action-test/actions)\n\nExample output [Benchmarks](https://blacha.github.io/hyperfine-action-test/benchmarks.html)\n\n![BenchmarksChart](./ExampleChart.png)\n\n\nInspired by the [Denoland](https://github.com/denoland/deno) benchmark [suite](https://deno.land/benchmarks)\n\n# Usage\n\nCreate a `.hyperfine.json`\n\n```json\n[\n  { \"name\": \"sleep\", \"command\": \"sleep 0.1\" },\n  { \"name\": \"node\", \"command\": \"node -e 'console.log()'\" }\n]\n```\n\nAdd the action to your github action\n```yaml\n    - uses: blacha/hyperfine-action@v1\n```\n\noutput\n\n```\nRun blacha/hyperfine-action@v1\nStarting benchmark Sleep 100ms\nBenchmark #1: sleep 0.1\n  Time (mean ± σ):     101.2 ms ±   0.1 ms    [User: 1.0 ms, System: 0.3 ms]\n  Range (min … max):   101.0 ms … 101.4 ms    29 runs\n\n\nStarting benchmark Test index\nBenchmark #1: node index.js\n  Time (mean ± σ):      5.039 s ±  0.002 s    [User: 28.8 ms, System: 6.7 ms]\n  Range (min … max):    5.035 s …  5.043 s    10 runs\n```\n\n## Configuration\n\n```yaml\n- uses blacha/hyperfine-action@v1\n  with:\n    # Configuration file to use\n    benchmark-config: '.hyperfine.json'\n    # Number of benchmarks to keep\n    count: 100\n    # Branch to use for benchmarks output/benchmark.json\n    benchmark-branch: 'gh-pages'\n    # Where to store the output of the benchmarks\n    benchmark-output: 'benchmarks.json'\n    # benchmark html file to view the benchmarks\n    benchmark-html: 'benchmarks.html'\n    # Branch to use as the main or master for comparision\n    master-branch: 'master'\n    # configuration token\n    github-token: ${{ github.token }}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblacha%2Fhyperfine-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblacha%2Fhyperfine-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblacha%2Fhyperfine-action/lists"}