diff --git a/README.md b/README.md index bf2d6f3..f633072 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@

Simple and easy to implement interfaces to log fast and efficiently

[![Go](https://github.com/ric-v/glog/actions/workflows/go.yml/badge.svg)](https://github.com/ric-v/glog/actions/workflows/go.yml) +[![CodeQL](https://github.com/ric-v/glog/actions/workflows/codeql.yml/badge.svg)](https://github.com/ric-v/glog/actions/workflows/codeql.yml) [![Go Report Card](https://goreportcard.com/badge/github.com/ric-v/glog)](https://goreportcard.com/report/github.com/ric-v/glog) [![CodeFactor](https://www.codefactor.io/repository/github/ric-v/glog/badge)](https://www.codefactor.io/repository/github/ric-v/glog) [![Maintained](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://img.shields.io/badge/Maintained%3F-yes-green.svg) @@ -57,6 +58,13 @@ func main() { } ``` +## Benchmarks + +| Benchmark | Iterations | Time | Size | Allocation | +|---|---|---|---|---| +| BenchmarkJSONGlog | 266092 | 3853 ns/op | 2185 B/op | 25 allocs/op | +| BenchmarkUnstructureGlog_log | 412342 | 3054 ns/o | 984 B/op | 13 allocs/op | + ## Examples visit examples [here](https://github.com/ric-v/glog/tree/main/examples)