{"id":13710638,"url":"https://github.com/Hejsil/zig-gc","last_synced_at":"2025-05-06T19:32:15.370Z","repository":{"id":109698513,"uuid":"136931040","full_name":"Hejsil/zig-gc","owner":"Hejsil","description":"A super simple mark-and-sweep garbage collector written in Zig.","archived":true,"fork":false,"pushed_at":"2021-06-05T15:42:21.000Z","size":21,"stargazers_count":38,"open_issues_count":1,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-11-13T21:44:30.310Z","etag":null,"topics":["garbage-collector","zig"],"latest_commit_sha":null,"homepage":"","language":"Zig","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Hejsil.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}},"created_at":"2018-06-11T13:35:09.000Z","updated_at":"2024-10-25T23:44:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"a29c8888-ded4-465f-bf3f-a2472309737d","html_url":"https://github.com/Hejsil/zig-gc","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/Hejsil%2Fzig-gc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hejsil%2Fzig-gc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hejsil%2Fzig-gc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hejsil%2Fzig-gc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Hejsil","download_url":"https://codeload.github.com/Hejsil/zig-gc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252753637,"owners_count":21798987,"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":["garbage-collector","zig"],"created_at":"2024-08-02T23:00:59.189Z","updated_at":"2025-05-06T19:32:10.339Z","avatar_url":"https://github.com/Hejsil.png","language":"Zig","readme":"# zig-bench\n\nA simple Garbage Collector in Zig. This GC is pretty bad, and mostly just a proof of concept.\n\n## Benchmarks\n\n```\nBenchmark                              Arg             Mean(ns)\n---------------------------------------------------------------\nDirectAllocator                          0                 9867\nDirectAllocator                          1                20578\nDirectAllocator                          2                37061\nDirectAllocator                          3                10285\nDirectAllocator                          4                19847\nDirectAllocator                          5                35768\nDirectAllocator                          6                 9291\nDirectAllocator                          7                18095\nDirectAllocator                          8                35587\nArena_DirectAllocator                    0                 5796\nArena_DirectAllocator                    1                 8054\nArena_DirectAllocator                    2                10330\nArena_DirectAllocator                    3                 9932\nArena_DirectAllocator                    4                12132\nArena_DirectAllocator                    5                14381\nArena_DirectAllocator                    6                10039\nArena_DirectAllocator                    7                12176\nArena_DirectAllocator                    8                14335\nGcAllocator_DirectAllocator              0                23010\nGcAllocator_DirectAllocator              1                53555\nGcAllocator_DirectAllocator              2                96861\nGcAllocator_DirectAllocator              3                28409\nGcAllocator_DirectAllocator              4                70079\nGcAllocator_DirectAllocator              5               127971\nGcAllocator_DirectAllocator              6                41809\nGcAllocator_DirectAllocator              7               113122\nGcAllocator_DirectAllocator              8               212150\nFixedBufferAllocator                     0                  118\nFixedBufferAllocator                     1                  198\nFixedBufferAllocator                     2                  338\nFixedBufferAllocator                     3                   98\nFixedBufferAllocator                     4                  190\nFixedBufferAllocator                     5                  353\nFixedBufferAllocator                     6                   97\nFixedBufferAllocator                     7                  177\nFixedBufferAllocator                     8                  340\nArena_FixedBufferAllocator               0                  125\nArena_FixedBufferAllocator               1                  220\nArena_FixedBufferAllocator               2                  436\nArena_FixedBufferAllocator               3                  145\nArena_FixedBufferAllocator               4                  232\nArena_FixedBufferAllocator               5                  401\nArena_FixedBufferAllocator               6                  144\nArena_FixedBufferAllocator               7                  248\nArena_FixedBufferAllocator               8                  491\nGcAllocator_FixedBufferAllocator         0                23160\nGcAllocator_FixedBufferAllocator         1                69917\nGcAllocator_FixedBufferAllocator         2               198616\nGcAllocator_FixedBufferAllocator         3                85539\nGcAllocator_FixedBufferAllocator         4               352586\nGcAllocator_FixedBufferAllocator         5              1849736\nGcAllocator_FixedBufferAllocator         6               269965\nGcAllocator_FixedBufferAllocator         7              1691938\nGcAllocator_FixedBufferAllocator         8              3105935\nOK\nAll tests passed.\n```\n","funding_links":[],"categories":["Other","Language Essentials"],"sub_categories":["Memory Allocator and Management"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FHejsil%2Fzig-gc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FHejsil%2Fzig-gc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FHejsil%2Fzig-gc/lists"}