{"id":16932883,"url":"https://github.com/arp242/zprof","last_synced_at":"2026-03-11T06:31:28.211Z","repository":{"id":57575275,"uuid":"355207869","full_name":"arp242/zprof","owner":"arp242","description":"Display runtime profiling data for Go programs over HTTP","archived":false,"fork":false,"pushed_at":"2025-12-28T19:29:10.000Z","size":68,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-31T10:53:22.442Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arp242.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"arp242"}},"created_at":"2021-04-06T13:56:06.000Z","updated_at":"2025-12-28T19:29:14.000Z","dependencies_parsed_at":"2022-09-26T19:01:57.090Z","dependency_job_id":null,"html_url":"https://github.com/arp242/zprof","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/arp242/zprof","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arp242%2Fzprof","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arp242%2Fzprof/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arp242%2Fzprof/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arp242%2Fzprof/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arp242","download_url":"https://codeload.github.com/arp242/zprof/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arp242%2Fzprof/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30373451,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-11T06:09:32.197Z","status":"ssl_error","status_checked_at":"2026-03-11T06:09:17.086Z","response_time":84,"last_error":"SSL_read: 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":"2024-10-13T20:47:55.698Z","updated_at":"2026-03-11T06:31:28.035Z","avatar_url":"https://github.com/arp242.png","language":"Go","funding_links":["https://github.com/sponsors/arp242"],"categories":[],"sub_categories":[],"readme":"zprof displays runtime profiling data over HTTP.\n\nThis is based on [net/http/pprof][httppprof]; but has been rewritten quite a bit\nand is much nicer. You can display the callgraphs directly without downloading\nthe file first, and a bunch of other changes. It doesn't give you the full power\nof the CLI, but overall it's fairly useful.\n\nImport as `zgo.at/zprof`; you need Go 1.16.\n\nCurrent status: fairly functional, still some things left to do. API may break.\n\n[httppprof]: https://godocs.io/net/http/pprof\n\nUsage\n-----\n\nUnlike `net/http/pprof` endpoints are not registered automatically; use\n`zprof.NewHandler()` to create a new handler to mount with your router, for\nexample using net/http's default mux:\n\n    http.Handle(\"/profile*\", zprof.NewHandler(zprof.Prefix(\"/profile\")))\n\nOr with chi:\n\n    r := chi.NewRouter()\n    r.Handle(\"/profile*\", zprof.NewHandler(zprof.Prefix(\"/profile\")))\n\nBecause you may not want to expose this to everyone you can add HTTP Basic auth\nwith `Auth()`:\n\n    http.Handle(\"/profile*\", zprof.NewHandler(zprof.Prefix(\"/profile\"),\n        zprof.Auth(\"user\", \"passwd\")))\n\nOr handle auth in your regular app middleware.\n\nYou can use the `zprof.Profile()` shortcut if your application doesn't have a\nHTTP server:\n\n    zprof.Profile(\"\")\n\nThis will set up a HTTP server on `localhost:6060`; use the first parameter to\nconfigure the address.\n\nLike with net/http/pprof, you can still use the commandline tool if you prefer:\n\n\t$ go tool pprof http://localhost:6060/debug/pprof/heap\n\n\t$ wget -O trace.out http://localhost:6060/debug/pprof/trace?seconds=5\n\t$ go tool trace trace.out\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farp242%2Fzprof","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farp242%2Fzprof","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farp242%2Fzprof/lists"}