{"id":15610927,"url":"https://github.com/awcodify/grpc_vs_rest_benchmark","last_synced_at":"2026-05-05T05:35:07.878Z","repository":{"id":125584422,"uuid":"211268450","full_name":"awcodify/grpc_vs_rest_benchmark","owner":"awcodify","description":"Simple code to do benchmarking between GRPC Protobuf vs JSON REST HTTP ","archived":false,"fork":false,"pushed_at":"2019-09-27T08:12:38.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-04T15:48:02.002Z","etag":null,"topics":["benchmark","go","golang","grpc","grpc-go","rest-api","restful"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/awcodify.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-27T08:07:12.000Z","updated_at":"2019-09-27T08:16:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"ff916898-a659-4dda-8a56-ced6df002ceb","html_url":"https://github.com/awcodify/grpc_vs_rest_benchmark","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"ed1730f4fd68fadc83671252f0d88d705916847e"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awcodify%2Fgrpc_vs_rest_benchmark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awcodify%2Fgrpc_vs_rest_benchmark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awcodify%2Fgrpc_vs_rest_benchmark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awcodify%2Fgrpc_vs_rest_benchmark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/awcodify","download_url":"https://codeload.github.com/awcodify/grpc_vs_rest_benchmark/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246200296,"owners_count":20739563,"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","go","golang","grpc","grpc-go","rest-api","restful"],"created_at":"2024-10-03T06:02:13.715Z","updated_at":"2026-05-05T05:35:02.848Z","avatar_url":"https://github.com/awcodify.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"Result in mine\n```\n~/Documents/playground/grpc-rest-benchmark(master ✔) go test -bench=. -benchmem\ngoos: darwin\ngoarch: amd64\npkg: benchmark\nBenchmarkGRPC-4   \t   20000\t     89584 ns/op\t    9256 B/op\t     173 allocs/op\nBenchmarkREST-4   \t   10000\t    215445 ns/op\t   19023 B/op\t     143 allocs/op\nPASS\nok  \tbenchmark\t7.002s\n~/Documents/playground/grpc-rest-benchmark(master ✔) go test -bench=. -benchmem\ngoos: darwin\ngoarch: amd64\npkg: benchmark\nBenchmarkGRPC-4   \t   20000\t     90188 ns/op\t    9255 B/op\t     173 allocs/op\nBenchmarkREST-4   \t    3000\t    381953 ns/op\t   19037 B/op\t     143 allocs/op\nPASS\nok  \tbenchmark\t5.935s\n~/Documents/playground/grpc-rest-benchmark(master ✔) go test -bench=. -benchmem\ngoos: darwin\ngoarch: amd64\npkg: benchmark\nBenchmarkGRPC-4   \t   20000\t     88909 ns/op\t    9256 B/op\t     173 allocs/op\nBenchmarkREST-4   \t    3000\t    459965 ns/op\t   19038 B/op\t     143 allocs/op\nPASS\nok  \tbenchmark\t6.233s\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fawcodify%2Fgrpc_vs_rest_benchmark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fawcodify%2Fgrpc_vs_rest_benchmark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fawcodify%2Fgrpc_vs_rest_benchmark/lists"}