{"id":39740874,"url":"https://github.com/nu11ptr/cgobench","last_synced_at":"2026-01-18T11:14:42.173Z","repository":{"id":57550356,"uuid":"112199326","full_name":"nu11ptr/cgobench","owner":"nu11ptr","description":"Simple benchmark of cgo calling overhead","archived":false,"fork":false,"pushed_at":"2017-11-27T15:02:01.000Z","size":7,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-20T05:08:33.542Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nu11ptr.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":"2017-11-27T13:24:54.000Z","updated_at":"2024-06-20T05:08:33.543Z","dependencies_parsed_at":"2022-08-28T20:41:14.587Z","dependency_job_id":null,"html_url":"https://github.com/nu11ptr/cgobench","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nu11ptr/cgobench","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nu11ptr%2Fcgobench","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nu11ptr%2Fcgobench/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nu11ptr%2Fcgobench/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nu11ptr%2Fcgobench/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nu11ptr","download_url":"https://codeload.github.com/nu11ptr/cgobench/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nu11ptr%2Fcgobench/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28535160,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T10:13:46.436Z","status":"ssl_error","status_checked_at":"2026-01-18T10:13:11.045Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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"}},"keywords":[],"created_at":"2026-01-18T11:14:42.116Z","updated_at":"2026-01-18T11:14:42.160Z","avatar_url":"https://github.com/nu11ptr.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cgobench\nSimple benchmark of cgo calling overhead\n\nResults from my machine:\n------------------------\n\n    scott@saruman:~/Dropbox/go/src/github.com/nu11ptr/cgobench$ go test -bench=.\n    goos: linux\n    goarch: amd64\n    pkg: github.com/nu11ptr/cgobench\n    BenchmarkCGo0Args-8             20000000                64.6 ns/op\n    BenchmarkCGo1IntArg-8           20000000                62.5 ns/op\n    BenchmarkCGo3PtrArgs-8          20000000                65.3 ns/op\n    Benchmark0Args-8                2000000000               0.25 ns/op\n    Benchmark1IntArg-8              2000000000               0.25 ns/op\n    Benchmark3PtrArgs-8             2000000000               0.25 ns/op\n    PASS\n    ok      github.com/nu11ptr/cgobench     5.654s\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnu11ptr%2Fcgobench","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnu11ptr%2Fcgobench","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnu11ptr%2Fcgobench/lists"}