{"id":13813491,"url":"https://github.com/betterstack-community/go-logging-benchmarks","last_synced_at":"2025-04-10T14:10:41.696Z","repository":{"id":198680476,"uuid":"690188577","full_name":"betterstack-community/go-logging-benchmarks","owner":"betterstack-community","description":"A comparison of the top logging libraries for Go","archived":false,"fork":false,"pushed_at":"2025-03-23T00:21:10.000Z","size":733,"stargazers_count":40,"open_issues_count":1,"forks_count":6,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-24T12:55:32.807Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://betterstack-community.github.io/go-logging-benchmarks/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/betterstack-community.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":"2023-09-11T17:49:30.000Z","updated_at":"2025-03-23T00:21:14.000Z","dependencies_parsed_at":"2023-11-12T02:21:57.206Z","dependency_job_id":"8016296e-1b59-4a8f-9117-b1549429fb57","html_url":"https://github.com/betterstack-community/go-logging-benchmarks","commit_stats":null,"previous_names":["betterstack-community/go-logging-benchmarks"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/betterstack-community%2Fgo-logging-benchmarks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/betterstack-community%2Fgo-logging-benchmarks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/betterstack-community%2Fgo-logging-benchmarks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/betterstack-community%2Fgo-logging-benchmarks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/betterstack-community","download_url":"https://codeload.github.com/betterstack-community/go-logging-benchmarks/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248232392,"owners_count":21069487,"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-08-04T04:01:19.356Z","updated_at":"2025-04-10T14:10:41.673Z","avatar_url":"https://github.com/betterstack-community.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# Go Logging Benchmarks\n\n![Benchmark results](screenshot.png)\n\nThis repo compares the performance of popular\n[Go Logging Libraries](https://betterstack.com/community/guides/logging/best-golang-logging-libraries/)\nincluding the new Slog package.\n\n[See the results](https://betterstack-community.github.io/go-logging-benchmarks/).\n\nThe following libraries are being tested:\n\n- [Zerolog](https://github.com/rs/zerolog)\n- [Zap](https://github.com/uber-go/zap)\n- [Apex/log](https://github.com/apex/log)\n- [Logrus](https://github.com/sirupsen/logrus)\n- [Slog](https://pkg.go.dev/log/slog)\n- [SlogZap](https://github.com/uber-go/zap/tree/master/exp/zapslog) (Slog with\n  Zap backend)\n- [Phuslog](https://github.com/phuslu/log)\n- [Log15](https://github.com/inconshreveable/log15)\n- [Logf](https://github.com/zerodha/logf)\n\n## 🟢 Prerequisites\n\nYou only need [a recent version of Go](https://go.dev/doc/install) to execute\nthe benchmarks.\n\n## 📦 Getting started\n\n- Clone the repository to your computer:\n\n```bash\ngit clone https://github.com/betterstack-community/go-logging-benchmarks\n```\n\n```bash\ncd go-logging-benchmarks\n```\n\n- Download the dependencies:\n\n```bash\ngo mod tidy\n```\n\n- Execute the benchmarks:\n\n```bash\ngo test -bench=. -benchmem\n```\n\n## ⚖ License\n\nThe code used in this project and in the linked tutorial are licensed under the\n[Apache License, Version 2.0](LICENSE).\n\n## 🤝 Contribute\n\nIf you found an issue with the benchmarks, or you want to propose a new library\nfor benchmarking, please open an issue or pull request accordingly.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbetterstack-community%2Fgo-logging-benchmarks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbetterstack-community%2Fgo-logging-benchmarks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbetterstack-community%2Fgo-logging-benchmarks/lists"}