{"id":20462274,"url":"https://github.com/drish/benchparser","last_synced_at":"2025-06-28T01:05:33.901Z","repository":{"id":62554128,"uuid":"209188643","full_name":"drish/benchparser","owner":"drish","description":"Benchparser is a parser for multiple benchmark output formats","archived":false,"fork":false,"pushed_at":"2019-09-28T03:12:42.000Z","size":21,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-09T05:51:26.449Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/drish.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":"2019-09-18T01:20:19.000Z","updated_at":"2019-09-28T03:12:44.000Z","dependencies_parsed_at":"2022-11-03T05:00:25.387Z","dependency_job_id":null,"html_url":"https://github.com/drish/benchparser","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/drish/benchparser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drish%2Fbenchparser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drish%2Fbenchparser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drish%2Fbenchparser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drish%2Fbenchparser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drish","download_url":"https://codeload.github.com/drish/benchparser/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drish%2Fbenchparser/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262357552,"owners_count":23298463,"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-11-15T12:34:14.543Z","updated_at":"2025-06-28T01:05:33.875Z","avatar_url":"https://github.com/drish.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.com/drish/benchparser.svg?branch=master)](https://travis-ci.com/drish/benchparser)\n[![Gem Version](https://badge.fury.io/rb/benchparser.svg)](https://badge.fury.io/rb/benchparser)\n\n# Benchparser\n\nBenchparser is a parser for multiple benchmark output formats\n\n## Installation\n\n```ruby\ngem 'benchparser'\n```\n\n\n### Usage\n\nGolang benchmark standard output\n\n```text\ngoos: darwin\ngoarch: amd64\npkg: github.com/drish/parser\nBenchmarkFib1-8     1000000000           2.48 ns/op        0 B/op        0 allocs/op\nPASS\nok    github.com/drish/parser 9.960s\n```\n\n```ruby\nrequire 'benchparser'\n\nparsed = Bp.parse(:go, data)\nparsed.language # go\nparsed.configs[:goos] # darwin\nparsed.configs[:pkg] # darwin\nparsed.functions.count # 1\nparsed.functions.first[:iterations] # 1000000000\nparsed.functions.first[:ns_op] # 2.48\nparsed.functions.first[:bytes_op] # 0\nparsed.functions.first[:allocs_op] # 0\n```\n\n\n#### TODO\n\n- [ ] Ruby [benchmark](https://ruby-doc.org/stdlib-2.5.0/libdoc/benchmark/rdoc/)\n- [ ] Python [timeit](https://docs.python.org/2/library/timeit.html)\n- [ ] Rust [Criterion](https://github.com/bheisler/criterion.rs)\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/drish/benchparser.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrish%2Fbenchparser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrish%2Fbenchparser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrish%2Fbenchparser/lists"}