Skip to content

betterstack-community/go-logging-benchmarks

Repository files navigation

Go Logging Benchmarks

Benchmark results

This repo compares the performance of popular Go Logging Libraries including the new Slog package.

See the results.

The following libraries are being tested:

🟢 Prerequisites

You only need a recent version of Go to execute the benchmarks.

📦 Getting started

  • Clone the repository to your computer:
git clone https://github.com/betterstack-community/go-logging-benchmarks
cd go-logging-benchmarks
  • Download the dependencies:
go mod tidy
  • Execute the benchmarks:
go test -bench=. -benchmem

⚖ License

The code used in this project and in the linked tutorial are licensed under the Apache License, Version 2.0.

🤝 Contribute

If you found an issue with the benchmarks, or you want to propose a new library for benchmarking, please open an issue or pull request accordingly.