{"id":30062313,"url":"https://github.com/jcocozza/goprof","last_synced_at":"2025-08-08T03:09:42.700Z","repository":{"id":307587010,"uuid":"1029962814","full_name":"jcocozza/goprof","owner":"jcocozza","description":"wrapper around golang's pprof","archived":false,"fork":false,"pushed_at":"2025-08-01T01:27:02.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-01T03:26:33.503Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jcocozza.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,"zenodo":null}},"created_at":"2025-07-31T21:29:52.000Z","updated_at":"2025-08-01T01:27:06.000Z","dependencies_parsed_at":"2025-08-01T03:26:36.499Z","dependency_job_id":"c1d025f4-0587-4656-aeba-ee701b990e00","html_url":"https://github.com/jcocozza/goprof","commit_stats":null,"previous_names":["jcocozza/goprof"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/jcocozza/goprof","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcocozza%2Fgoprof","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcocozza%2Fgoprof/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcocozza%2Fgoprof/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcocozza%2Fgoprof/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jcocozza","download_url":"https://codeload.github.com/jcocozza/goprof/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcocozza%2Fgoprof/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269356864,"owners_count":24403558,"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-08-08T02:00:09.200Z","response_time":72,"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"}},"keywords":[],"created_at":"2025-08-08T03:09:41.021Z","updated_at":"2025-08-08T03:09:42.692Z","avatar_url":"https://github.com/jcocozza.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# goprof\n\ngoprof is a convenience wrapper around go's pprof library.\nIf you need more control when profiling, don't use this.\n\nYou should only call `Start()` or `Run()` once in your code.\nCalling more then once will return an error.\nCalling `Stop()` before `Start()` or `Run()` will also produce an error.\n\nThere are three main ways to use this package:\n\n1. Targets to a specific bit of code\n\n```go\ngoprof.Run(\"\u003cname\u003e\", func() {\n\t// \u003cyour arbitrary code\u003e\n})\n```\n\n2. Target a chunk of code. Anywhere in your code call the following:\n\n```go\nif err := goprof.Start(\"\u003cname\u003e\"); err != nil {\n\t// handle error\n}\n\n// \u003cyour code here\u003e\n\nif err := goprof.End(); err != nil {\n\t// handle error\n}\n```\n\n3. Profile all your code. At the beginning of your main method, just call:\n\n```go\ngoprof.Start(\"\u003cname\u003e\")\ndefer goprof.End()\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcocozza%2Fgoprof","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjcocozza%2Fgoprof","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcocozza%2Fgoprof/lists"}