{"id":23383196,"url":"https://github.com/stwind/yokogao","last_synced_at":"2026-01-20T06:02:12.119Z","repository":{"id":10553003,"uuid":"12752589","full_name":"stwind/yokogao","owner":"stwind","description":"Erlang Application Profiling Toolkit.","archived":false,"fork":false,"pushed_at":"2013-09-12T06:41:19.000Z","size":148,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-08T09:41:09.588Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"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/stwind.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}},"created_at":"2013-09-11T09:30:43.000Z","updated_at":"2014-01-16T00:00:17.000Z","dependencies_parsed_at":"2022-09-12T15:53:18.548Z","dependency_job_id":null,"html_url":"https://github.com/stwind/yokogao","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/stwind/yokogao","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stwind%2Fyokogao","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stwind%2Fyokogao/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stwind%2Fyokogao/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stwind%2Fyokogao/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stwind","download_url":"https://codeload.github.com/stwind/yokogao/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stwind%2Fyokogao/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28597087,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T02:08:49.799Z","status":"ssl_error","status_checked_at":"2026-01-20T02:08:44.148Z","response_time":117,"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-12-21T22:18:59.109Z","updated_at":"2026-01-20T06:02:12.093Z","avatar_url":"https://github.com/stwind.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"Yokogao\n=======\n\nErlang application profiling toolkit.\n\n## Usage\n\n### Config\n\n```erlang\n{yokogao, [\n\t{log_dir, \"log\"}\n]}\n```\n\n### Tracing\n\n#### Tracing Function\n\n```erlang\nyokogao:trace_fun(fun erlang:memory/0, []).\n```\n\n#### Tracing for a period\n\nTrace for one second.\n\n```erlang\nyokogao:trace_for(1000).\n```\n\n#### Custom tracing period\n\n```erlang\n{ok, File} = yokogao:start_trace(\"my_trace\"),\n%% do something\nok = yokogao:stop_trace(File).\n```\n\n### Analyzing\n\nYou should find the `.analysis` files in the `log_dir` (default to `log`) folder, e.g. `fprof_9_12_10_49_4.analysis`.\n\nThen you can convert it to callgrind output:\n```bash\nmake grind FILE=fprof_9_12_10_49_4\n```\nthis will produce a `fprof_9_12_10_49_4.cgrind` file, which can be interpreted by `kcachegrind` (`qcachegrind` in OSX case).\n\nNow you can do to inspect the results\n```bash\nqcachegrind log/fprof_9_12_10_49_4.cgrind\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstwind%2Fyokogao","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstwind%2Fyokogao","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstwind%2Fyokogao/lists"}