{"id":15965274,"url":"https://github.com/bwplotka/go-proto-bench","last_synced_at":"2025-04-04T13:26:27.079Z","repository":{"id":209651420,"uuid":"724187502","full_name":"bwplotka/go-proto-bench","owner":"bwplotka","description":"Decode/Encode Benchmarks for Various OSS Go Protocol buffers (proto) Generators","archived":false,"fork":false,"pushed_at":"2023-11-30T16:26:48.000Z","size":128,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-09T23:16:24.166Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bwplotka.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-11-27T15:15:00.000Z","updated_at":"2023-11-28T13:07:16.000Z","dependencies_parsed_at":"2023-11-28T14:27:02.805Z","dependency_job_id":"28f5f0e0-4fac-4ac8-837e-0d872823caa0","html_url":"https://github.com/bwplotka/go-proto-bench","commit_stats":null,"previous_names":["bwplotka/go-proto-bench"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bwplotka%2Fgo-proto-bench","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bwplotka%2Fgo-proto-bench/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bwplotka%2Fgo-proto-bench/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bwplotka%2Fgo-proto-bench/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bwplotka","download_url":"https://codeload.github.com/bwplotka/go-proto-bench/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247183944,"owners_count":20897677,"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-07T17:40:38.461Z","updated_at":"2025-04-04T13:26:27.048Z","avatar_url":"https://github.com/bwplotka.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-proto-bench (2023)\n\nDecode/Encode Benchmark for Various OSS Go Protocol buffers (proto) Generators\n\n## What's this?\n\nThe goal of this repository is to give more data on efficiency and usability of various Protocol Buffers generators and plugins that enhances the native [google.golang.org/protobuf](https://pkg.go.dev/google.golang.org/protobuf) Go de/serialization implementation e.g.:\n\n* [gogoproto](https://github.com/gogo/protobuf) (for v1 proto API)\n* [vtprotobuf](https://github.com/planetscale/vtprotobuf) (for v2 API)\n* [csprotpo](https://github.com/CrowdStrike/csproto) (for both v1 and v2, but we benchmark only v2 API).\n\nAll benchmark code is available for verifications and reproduction.\n\nBenchmarks here use our new [WIP Prometheus Remote Write 2.0](https://github.com/prometheus/prometheus/issues/13105) as a reference protobuf message. What's unique about it, is that we took a high priority on efficiency while developing it which resulted in custom string interning we wished was more popular in the community. 😉\n\n## Results\n\n\u003e NOTE: Performed on MacOS 14.1.1 M1 Pro 16GB RAM\n\n\u003e NOTE2: v1 and v2 refer to Prometheus Remote Write version. You can focus on v2 to see differences between generators.\n\nSee early results [here](./prw-bench.results-2023-11-29.txt)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbwplotka%2Fgo-proto-bench","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbwplotka%2Fgo-proto-bench","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbwplotka%2Fgo-proto-bench/lists"}