{"id":24433838,"url":"https://github.com/windler/go-cachegrind","last_synced_at":"2026-05-20T06:37:18.701Z","repository":{"id":57503764,"uuid":"127529963","full_name":"windler/go-cachegrind","owner":"windler","description":"GO package for parsing cachegrind files","archived":false,"fork":false,"pushed_at":"2018-09-12T17:16:21.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-20T16:53:42.672Z","etag":null,"topics":["cachegrind","go","profiler","xdebug"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/windler.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-03-31T12:27:06.000Z","updated_at":"2018-09-12T17:16:22.000Z","dependencies_parsed_at":"2022-08-27T23:53:35.736Z","dependency_job_id":null,"html_url":"https://github.com/windler/go-cachegrind","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/windler%2Fgo-cachegrind","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/windler%2Fgo-cachegrind/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/windler%2Fgo-cachegrind/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/windler%2Fgo-cachegrind/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/windler","download_url":"https://codeload.github.com/windler/go-cachegrind/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243483735,"owners_count":20298037,"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":["cachegrind","go","profiler","xdebug"],"created_at":"2025-01-20T16:50:56.770Z","updated_at":"2025-12-30T07:22:24.849Z","avatar_url":"https://github.com/windler.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![CircleCI](https://circleci.com/gh/windler/go-cachegrind.svg?style=svg)](https://circleci.com/gh/windler/go-cachegrind) [![Go Report Card](https://goreportcard.com/badge/github.com/windler/go-cachegrind)](https://goreportcard.com/report/github.com/windler/go-cachegrind) [![codebeat badge](https://codebeat.co/badges/79fe429b-0f54-4c35-a359-4526a4294647)](https://codebeat.co/projects/github-com-windler-go-cachegrind-master)\n# go-cachegrind\n`go-cachegrind` is a GO library that parses files in [cachegrind compatible format](http://valgrind.org/docs/manual/cg-manual.html), used e.g. by [xdebug profiler](https://xdebug.org/docs/profiler). This package is mainly developed to parse xdebug profiling files.\n\n# Installation \n```bash\ngo get github.com/windler/go-cachegrind\n```\n\n# Usage\n\n```go\ncg := cachegrind.Parse(\"path/to/file.cachegrind\")\nmain := cg.GetMainFunction()\ntotalTime := main.GetMeasurement(\"Time\")\n\nfor _, call := range main.GetCalls() {\n    calledFn := call.GetFunction()\n    //... \n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwindler%2Fgo-cachegrind","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwindler%2Fgo-cachegrind","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwindler%2Fgo-cachegrind/lists"}