{"id":19493320,"url":"https://github.com/negrel/guds","last_synced_at":"2025-09-04T04:45:59.623Z","repository":{"id":57561710,"uuid":"325227992","full_name":"negrel/guds","owner":"negrel","description":":zap: GUDS","archived":false,"fork":false,"pushed_at":"2021-01-14T12:26:07.000Z","size":36,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-08T09:13:57.577Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/negrel.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}},"created_at":"2020-12-29T08:17:40.000Z","updated_at":"2021-01-14T12:26:09.000Z","dependencies_parsed_at":"2022-09-10T08:10:54.065Z","dependency_job_id":null,"html_url":"https://github.com/negrel/guds","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/negrel%2Fguds","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/negrel%2Fguds/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/negrel%2Fguds/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/negrel%2Fguds/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/negrel","download_url":"https://codeload.github.com/negrel/guds/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240738761,"owners_count":19849651,"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":[],"created_at":"2024-11-10T21:25:18.309Z","updated_at":"2025-02-25T20:19:59.761Z","avatar_url":"https://github.com/negrel.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Go Reference](https://pkg.go.dev/badge/github.com/negrel/guds.svg)](https://pkg.go.dev/github.com/negrel/guds)\n[![Go Report](https://goreportcard.com/badge/github.com/negrel/guds)](https://goreportcard.com/report/github.com/negrel/guds)\n[![License Badge](https://img.shields.io/github/license/negrel/guds)](https://github.com/negrel/guds/raw/master/LICENSE)\n\n# :zap: GUDS\n\n## Benchmarks\n\n### Maps (built-in, sync.Map, Map \u0026 Sync)\n\n```shell\ngo test -bench . -run NO_TEST -benchmem -benchtime 1s ./...\ngoos: linux\ngoarch: amd64\npkg: github.com/negrel/guds/pkg/maps/hashmap\nBenchmarkBuiltInMap_Set_100-8         \t  117738\t      9675 ns/op\t    3150 B/op\t      18 allocs/op\nBenchmarkBuiltInMap_Set_1000-8        \t   10000\t    100894 ns/op\t   47880 B/op\t      66 allocs/op\nBenchmarkBuiltInMap_Set_10000-8       \t    1392\t    812083 ns/op\t  389632 B/op\t     256 allocs/op\nBenchmarkBuiltInMap_Set_100000-8      \t     145\t   8191015 ns/op\t 3279393 B/op\t    3929 allocs/op\nBenchmarkBuiltInMap_Get_100-8         \t 1345612\t       890 ns/op\t       0 B/op\t       0 allocs/op\nBenchmarkBuiltInMap_Get_1000-8        \t   68545\t     17063 ns/op\t       0 B/op\t       0 allocs/op\nBenchmarkBuiltInMap_Get_10000-8       \t    4689\t    231811 ns/op\t       0 B/op\t       0 allocs/op\nBenchmarkBuiltInMap_Get_100000-8      \t     402\t   3006477 ns/op\t       0 B/op\t       0 allocs/op\nBenchmarkBuiltInMap_Delete_100-8      \t  624742\t      1821 ns/op\t       0 B/op\t       0 allocs/op\nBenchmarkBuiltInMap_Delete_1000-8     \t   41936\t     30271 ns/op\t       0 B/op\t       0 allocs/op\nBenchmarkBuiltInMap_Delete_10000-8    \t    3465\t    312383 ns/op\t       0 B/op\t       0 allocs/op\nBenchmarkBuiltInMap_Delete_100000-8   \t     306\t   3877898 ns/op\t       0 B/op\t       0 allocs/op\nBenchmarkSync_Put_100-8               \t   15492\t     78019 ns/op\t    5390 B/op\t       9 allocs/op\nBenchmarkSync_Put_1000-8              \t    1766\t    676897 ns/op\t   85845 B/op\t      38 allocs/op\nBenchmarkSync_Put_10000-8             \t     164\t   6884391 ns/op\t  693847 B/op\t     398 allocs/op\nBenchmarkSync_Put_100000-8            \t      13\t  84206797 ns/op\t 6641609 B/op\t   11067 allocs/op\nBenchmarkSync_Get_100-8               \t   37569\t     31951 ns/op\t       0 B/op\t       0 allocs/op\nBenchmarkSync_Get_1000-8              \t    3573\t    318496 ns/op\t       0 B/op\t       0 allocs/op\nBenchmarkSync_Get_10000-8             \t     378\t   3176270 ns/op\t       0 B/op\t       0 allocs/op\nBenchmarkSync_Get_100000-8            \t      36\t  34339466 ns/op\t       0 B/op\t       0 allocs/op\nBenchmarkSync_Delete_100-8            \t   12807\t     98609 ns/op\t       0 B/op\t       0 allocs/op\nBenchmarkSync_Delete_1000-8           \t    1438\t    841091 ns/op\t      31 B/op\t       0 allocs/op\nBenchmarkSync_Delete_10000-8          \t     235\t   4860092 ns/op\t     679 B/op\t       7 allocs/op\nBenchmarkSync_Delete_100000-8         \t      19\t  54757886 ns/op\t   14617 B/op\t     152 allocs/op\nBenchmarkMap_Set_100-8                \t   93834\t     11982 ns/op\t    5376 B/op\t       9 allocs/op\nBenchmarkMap_Set_1000-8               \t    9820\t    134850 ns/op\t   85457 B/op\t      34 allocs/op\nBenchmarkMap_Set_10000-8              \t    1093\t   1088751 ns/op\t  676187 B/op\t     214 allocs/op\nBenchmarkMap_Set_100000-8             \t      99\t  10956819 ns/op\t 5599152 B/op\t    3912 allocs/op\nBenchmarkMap_Get_100-8                \t  754118\t      1418 ns/op\t       0 B/op\t       0 allocs/op\nBenchmarkMap_Get_1000-8               \t   53481\t     22454 ns/op\t       0 B/op\t       0 allocs/op\nBenchmarkMap_Get_10000-8              \t    3579\t    304384 ns/op\t       0 B/op\t       0 allocs/op\nBenchmarkMap_Get_100000-8             \t     313\t   3748898 ns/op\t       0 B/op\t       0 allocs/op\nBenchmarkMap_Delete_100-8             \t  202149\t      5600 ns/op\t       2 B/op\t       0 allocs/op\nBenchmarkMap_Delete_1000-8            \t   23496\t     49741 ns/op\t       0 B/op\t       0 allocs/op\nBenchmarkMap_Delete_10000-8           \t    2280\t    501518 ns/op\t       0 B/op\t       0 allocs/op\nBenchmarkMap_Delete_100000-8          \t     198\t   5989757 ns/op\t    2990 B/op\t      20 allocs/op\nBenchmarkSyncMap_Set_100-8            \t   11186\t    106734 ns/op\t   12101 B/op\t     310 allocs/op\nBenchmarkSyncMap_Set_1000-8           \t    1245\t   1030323 ns/op\t  168504 B/op\t    3787 allocs/op\nBenchmarkSyncMap_Set_10000-8          \t      98\t  11566869 ns/op\t 1469320 B/op\t   40201 allocs/op\nBenchmarkSyncMap_Set_100000-8         \t       8\t 138577154 ns/op\t14092458 B/op\t  416296 allocs/op\nBenchmarkSyncMap_Get_100-8            \t   33577\t     35695 ns/op\t       0 B/op\t       0 allocs/op\nBenchmarkSyncMap_Get_1000-8           \t    3495\t    340049 ns/op\t       3 B/op\t       0 allocs/op\nBenchmarkSyncMap_Get_10000-8          \t     354\t   3454866 ns/op\t      83 B/op\t       0 allocs/op\nBenchmarkSyncMap_Get_100000-8         \t      32\t  35057247 ns/op\t    3123 B/op\t      32 allocs/op\nBenchmarkSyncMap_Delete_100-8         \t   10000\t    142479 ns/op\t      19 B/op\t       1 allocs/op\nBenchmarkSyncMap_Delete_1000-8        \t    2091\t    580446 ns/op\t      90 B/op\t       1 allocs/op\nBenchmarkSyncMap_Delete_10000-8       \t     202\t   6188399 ns/op\t    7456 B/op\t      78 allocs/op\nBenchmarkSyncMap_Delete_100000-8      \t      19\t  61737213 ns/op\t  328750 B/op\t    3425 allocs/op\nPASS\nok  \tgithub.com/negrel/guds/pkg/maps/hashmap\t131.109s\n```\n\n### Contributing\n\nIf you want to contribute to GUDS to add a feature or improve the code contact me at\n[negrel.dev@protonmail.com](mailto:negrel.dev@protonmail.com), open an [issue](https://github.com/negrel/guds/issues)\nor make a [pull request](https://github.com/negrel/guds/pulls).\n\n## :stars: Show your support\n\nPlease give a :star: if this project helped you!\n\n## :scroll: License\n\nMIT © [Alexandre Negrel](https://www.negrel.dev/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnegrel%2Fguds","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnegrel%2Fguds","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnegrel%2Fguds/lists"}