{"id":8765279,"name":"github.com/j178/benchdiff","ecosystem":"go","description":"Benchstat computes and compares statistics about benchmarks.\n\nUsage:\n\nEach input file should contain the concatenated output of a number\nof runs of “go test -bench.” For each different benchmark listed in an input file,\nbenchstat computes the mean, minimum, and maximum run time,\nafter removing outliers using the interquartile range rule.\n\nIf invoked on a single input file, benchstat prints the per-benchmark statistics\nfor that file.\n\nIf invoked on a pair of input files, benchstat adds to the output a column\nshowing the statistics from the second file and a column showing the\npercent change in mean from the first to the second file.\nNext to the percent change, benchstat shows the p-value and sample\nsizes from a test of the two distributions of benchmark times.\nSmall p-values indicate that the two distributions are significantly different.\nIf the test indicates that there was no significant change between the two\nbenchmarks (defined as p \u003e 0.05), benchstat displays a single ~ instead of\nthe percent change.\n\nThe -delta-test option controls which significance test is applied:\nutest (Mann-Whitney U-test), ttest (two-sample Welch t-test), or none.\nThe default is the U-test, sometimes also referred to as the Wilcoxon rank\nsum test.\n\nIf invoked on more than two input files, benchstat prints the per-benchmark\nstatistics for all the files, showing one column of statistics for each file,\nwith no column for percent change or statistical significance.\n\nThe -html option causes benchstat to print the results as an HTML table.\n\nThe -sort option specifies an order in which to list the results:\nnone (input order), delta (percent improvement), or name (benchmark name).\nA leading “-” prefix, as in “-delta”, reverses the order.\n\nSuppose we collect results from running a set of benchmarks twenty times\nbefore a particular change:\n\nAnd the same benchmarks twenty times after:\n\nThe file old.txt contains:\n\nThe file new.txt contains:\n\nThe order of the lines in the file does not matter, except that the\noutput lists benchmarks in order of appearance.\n\nIf run with just one input file, benchstat summarizes that file:\n\nIf run with two input files, benchstat summarizes and compares:\n\nNote that the JSONEncode result is reported as\nstatistically insignificant instead of a -0.93% delta.","homepage":"https://github.com/j178/benchdiff","licenses":"BSD-3-Clause","normalized_licenses":["BSD-3-Clause"],"repository_url":"https://github.com/j178/benchdiff","keywords_array":[],"namespace":"github.com/j178","versions_count":1,"first_release_published_at":"2022-10-30T06:18:27.000Z","latest_release_published_at":"2022-10-30T06:18:27.000Z","latest_release_number":"v0.0.0-20221030061827-27ece05f0b8d","last_synced_at":"2026-03-17T02:33:53.957Z","created_at":"2024-01-18T04:56:53.291Z","updated_at":"2026-03-17T02:33:53.958Z","registry_url":"https://pkg.go.dev/github.com/j178/benchdiff","install_command":"go get github.com/j178/benchdiff","documentation_url":"https://pkg.go.dev/github.com/j178/benchdiff#section-documentation","metadata":{},"repo_metadata":{"id":62269863,"uuid":"559270386","full_name":"j178/benchdiff","owner":"j178","description":null,"archived":false,"fork":false,"pushed_at":"2022-10-30T06:18:31.000Z","size":13,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-14T17:43:13.097Z","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":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/j178.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":"2022-10-29T15:37:15.000Z","updated_at":"2022-11-03T02:14:32.000Z","dependencies_parsed_at":"2023-01-20T15:30:21.804Z","dependency_job_id":null,"html_url":"https://github.com/j178/benchdiff","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/j178/benchdiff","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j178%2Fbenchdiff","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j178%2Fbenchdiff/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j178%2Fbenchdiff/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j178%2Fbenchdiff/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/j178","download_url":"https://codeload.github.com/j178/benchdiff/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j178%2Fbenchdiff/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279020051,"owners_count":26086807,"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","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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"},"owner_record":{"login":"j178","name":"Jo","uuid":"10510431","kind":"user","description":"that ship has sailed","email":"","website":null,"location":null,"twitter":"niceoe","company":null,"icon_url":"https://avatars.githubusercontent.com/u/10510431?u=fbb25027b39b057a21ebc1d8a7cb2dc8472e1c9d\u0026v=4","repositories_count":135,"last_synced_at":"2025-09-14T16:40:36.670Z","metadata":{"has_sponsors_listing":true,"funding":{"github":"j178"}},"html_url":"https://github.com/j178","funding_links":["https://github.com/sponsors/j178"],"total_stars":2408,"followers":406,"following":181,"created_at":"2022-11-15T02:19:51.053Z","updated_at":"2025-09-14T16:40:36.671Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/j178","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/j178/repositories"},"tags":[]},"repo_metadata_updated_at":"2025-10-14T17:50:07.478Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":0,"rankings":{"downloads":null,"dependent_repos_count":10.453225907731841,"dependent_packages_count":9.270385022243476,"stargazers_count":null,"forks_count":null,"docker_downloads_count":null,"average":9.861805464987658},"purl":"pkg:golang/github.com/j178/benchdiff","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/go/github.com/j178/benchdiff","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/go/github.com/j178/benchdiff","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/go/github.com/j178/benchdiff/dependencies","status":null,"funding_links":["https://github.com/sponsors/j178"],"critical":null,"issue_metadata":{"last_synced_at":"2025-06-16T03:17:05.516Z","issues_count":0,"pull_requests_count":0,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":null,"issues_closed_count":0,"pull_requests_closed_count":0,"pull_request_authors_count":0,"issue_authors_count":0,"avg_comments_per_issue":null,"avg_comments_per_pull_request":null,"merged_pull_requests_count":0,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/j178%2Fbenchdiff/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fj178%2Fbenchdiff/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fj178%2Fbenchdiff/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fj178%2Fbenchdiff/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fj178%2Fbenchdiff/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fj178%2Fbenchdiff/codemeta","maintainers":[]}