From f4d346ea808c5faf069a3e3a8dad390477807da0 Mon Sep 17 00:00:00 2001 From: Kuisong Tong Date: Sat, 16 Mar 2024 18:35:42 -0700 Subject: [PATCH] benchmark table in readme (#250) --- README.md | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index d5285bad..e2bce940 100644 --- a/README.md +++ b/README.md @@ -25,13 +25,11 @@ becoming coupled to a particular configuration source. The following [benchmarks](benchmark) compare the performance of konf with [spf13/viper](https://github.com/spf13/viper) and [knadh/koanf](https://github.com/knadh/koanf), which are inspiration of konf. -``` -| | Unmarshal (ns/op) | Unmarshal (allocs/op) | Get (ns/op) | Get (allocs/op) | -|:------|------------------:|----------------------:|------------:|----------------:| -| Konf | 41.09 | 4 | 16.71 | 1 | -| Viper | 614.8 | 22 | 104.9 | 3 | -| Koanf | 15949 | 657 | 7.898 | 1 | -``` +| | Unmarshal (ns/op) | Unmarshal (allocs/op) | Get (ns/op) | Get (allocs/op) | +|:------|---------------------:|-------------------------:|---------------:|--------------------:| +| Konf | __41.09__ | __4__ | 16.71 | __1__ | +| Viper | 614.8 | 22 | 104.9 | 3 | +| Koanf | 15949 | 657 | __7.898__ | __1__ | ## Usage