Skip to content

Commit

Permalink
Fix extra space in README and use percentage for speed comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
Nitive committed Aug 7, 2021
1 parent 4fa9c76 commit 1275741
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ my-cluster/default

Custom separator with `-s` flag
```
$ kubectl-current-context -s='⎈ '
$ kubectl-current-context -s='⎈'
my-cluster⎈default
```

Expand Down Expand Up @@ -49,7 +49,7 @@ Benchmark #1: kubectl config current-context && kubectl config view --minify --o
Range (min … max): 123.3 ms … 164.4 ms 100 runs
```

This implementation takes only ~7ms — 19 times less
This implementation takes only ~7ms — 1884% faster

```
$ kubectl-current-context -o json
Expand Down

0 comments on commit 1275741

Please sign in to comment.