{"id":17968462,"url":"https://github.com/tebeka/bunder","last_synced_at":"2025-10-29T06:02:06.015Z","repository":{"id":214084189,"uuid":"735632144","full_name":"tebeka/bunder","owner":"tebeka","description":"Check that  Go benchmark is under given threshold.","archived":false,"fork":false,"pushed_at":"2024-01-07T15:35:07.000Z","size":16,"stargazers_count":17,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-20T00:51:50.891Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/tebeka.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}},"created_at":"2023-12-25T16:06:07.000Z","updated_at":"2024-01-22T17:52:19.000Z","dependencies_parsed_at":"2023-12-25T19:57:44.219Z","dependency_job_id":"b67e3004-21d7-4e5c-9018-23758d5484ea","html_url":"https://github.com/tebeka/bunder","commit_stats":null,"previous_names":["tebeka/bunder"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tebeka%2Fbunder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tebeka%2Fbunder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tebeka%2Fbunder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tebeka%2Fbunder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tebeka","download_url":"https://codeload.github.com/tebeka/bunder/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245444213,"owners_count":20616341,"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-10-29T14:40:20.311Z","updated_at":"2025-10-29T06:02:05.909Z","avatar_url":"https://github.com/tebeka.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bunder - Check that Go Benchmark(s) Under Given Threshold\n\n## Usage\n\n```\nusage: bunder [options] [FILE]\nChecks that benchmark results are below thresholds.\n\n  -config string\n    \tconfig file name (default \".bunder.yml\")\n  -version\n    \tshow version and exit\n```\n\n## Example\n\n```\n$ go test -run NONE -bench . -benchmem -count 5 | tee wrand.txt\ngoos: linux\ngoarch: amd64\npkg: github.com/tebeka/wrand\ncpu: 12th Gen Intel(R) Core(TM) i7-1255U\nBenchmarkRand-12       \t38350470\t        29.16 ns/op\t       0 B/op\t       0 allocs/op\nBenchmarkRand-12       \t40832551\t        29.10 ns/op\t       0 B/op\t       0 allocs/op\nBenchmarkRand-12       \t41504181\t        29.03 ns/op\t       0 B/op\t       0 allocs/op\nBenchmarkRand-12       \t45680728\t        29.20 ns/op\t       0 B/op\t       0 allocs/op\nBenchmarkRand-12       \t45664462\t        26.21 ns/op\t       0 B/op\t       0 allocs/op\nBenchmarkRandBig-12    \t 8707904\t       128.7 ns/op\t       0 B/op\t       0 allocs/op\nBenchmarkRandBig-12    \t 9069816\t       130.0 ns/op\t       0 B/op\t       0 allocs/op\nBenchmarkRandBig-12    \t 8862433\t       128.8 ns/op\t       0 B/op\t       0 allocs/op\nBenchmarkRandBig-12    \t 9341898\t       128.4 ns/op\t       0 B/op\t       0 allocs/op\nBenchmarkRandBig-12    \t 9340988\t       128.8 ns/op\t       0 B/op\t       0 allocs/op\nPASS\nok  \tgithub.com/tebeka/wrand\t13.793s\n\n$ cat wrand.yml \nversion: v1\nthresholds:\n  - name: BenchmarkRand-12\n    threshold: 30ns\n  - name: BenchmarkRandBig-12\n    threshold: 0.112us\n\n$ bunder -config wrand.yml wrand.txt \nBenchmarkRandBig-12: avg = 128.94 ns, threshold = 112ns\n```\n\n## Configuration\n\nbunder will read configuration with benchmark thresholds. It should be a YAML file in the following format:\n\n```yaml\nversion: v1\nthresholds:\n  - name: BenchmarkRand-12\n    threshold: 30ns\n  - name: BenchmarkRandBig-12\n    threshold: 0.112us\n```\n\n`threshold` can be anything that [time.ParseDuration](https://pkg.go.dev/time#ParseDuration) can handle.\n\n## Installing\n\n`go install github.com/tebeka/bunder@latest`\n\nThe installed file will be in `$(go env GOPATH)/bin`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftebeka%2Fbunder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftebeka%2Fbunder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftebeka%2Fbunder/lists"}