{"id":13741427,"url":"https://github.com/nektro/zig-tracy","last_synced_at":"2025-10-18T19:32:56.971Z","repository":{"id":45073004,"uuid":"327514460","full_name":"nektro/zig-tracy","owner":"nektro","description":"Zig bindings for the Tracy profiler.","archived":false,"fork":false,"pushed_at":"2023-04-09T09:41:58.000Z","size":24,"stargazers_count":75,"open_issues_count":2,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-04T08:11:11.641Z","etag":null,"topics":["zig-package"],"latest_commit_sha":null,"homepage":"","language":"Zig","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/nektro.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-07T05:40:12.000Z","updated_at":"2025-03-30T22:32:52.000Z","dependencies_parsed_at":"2024-08-03T04:18:01.663Z","dependency_job_id":null,"html_url":"https://github.com/nektro/zig-tracy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nektro/zig-tracy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nektro%2Fzig-tracy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nektro%2Fzig-tracy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nektro%2Fzig-tracy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nektro%2Fzig-tracy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nektro","download_url":"https://codeload.github.com/nektro/zig-tracy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nektro%2Fzig-tracy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278542660,"owners_count":26004060,"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-10-05T02:00:06.059Z","response_time":54,"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":["zig-package"],"created_at":"2024-08-03T04:00:59.088Z","updated_at":"2025-10-06T00:36:20.816Z","avatar_url":"https://github.com/nektro.png","language":"Zig","funding_links":[],"categories":["Libraries"],"sub_categories":[],"readme":"# zig-tracy\n![loc](https://sloc.xyz/github/nektro/zig-tracy)\n[![license](https://img.shields.io/github/license/nektro/zig-tracy.svg)](https://github.com/nektro/zig-tracy/blob/master/LICENSE)\n[![discord](https://img.shields.io/discord/551971034593755159.svg?logo=discord)](https://discord.gg/P6Y4zQC)\n\nZig integration for the Tracy profiler.\n\nhttps://github.com/wolfpld/tracy\n\nCurrently uses tracy v0.7.8\n\n## Adding to your project\nUsing the https://github.com/nektro/zigmod package manager.\n\n```yml\nroot_dependencies:\n  - src: git https://github.com/nektro/zig-tracy\n```\n\n## Adding it to your code\n```zig\nconst tracy = @import(\"tracy\");\n\nfn function_i_wish_to_trace() void {\n    const t = tracy.trace(@src(), null);\n    defer t.end();\n    // ...\n    // the rest of the function body\n}\n```\n\nThe second parameter to `trace` can be used to give a name to the zone,\notherwise it will simply be the inferred function name and location in the\nsource code.\n\n```zig\nconst tracy = @import(\"tracy\");\n\nfn main() !void {\n    var quit = false;\n    while (!quit) {\n        const frame = tracy.frame(null);\n        defer frame.end();\n\n        // ...\n        // the rest of the loop\n    }\n}\n```\n\n## Building\n```\n$ zigmod fetch\n$ zig build -Dtarget=native-native-gnu.2.18\n```\n\n## License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnektro%2Fzig-tracy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnektro%2Fzig-tracy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnektro%2Fzig-tracy/lists"}