Skip to content

Commit 7e4bd9d

Browse files
committed
update benchmark result
1 parent 46816bb commit 7e4bd9d

1 file changed

Lines changed: 5 additions & 8 deletions

File tree

README.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,19 +39,16 @@ A CLI utility is also available with `go get ekyu.moe/base91/cmd/base91`.
3939
## Benchmark
4040
Note: 1 op = 1 MB input
4141
```plain
42-
$ go test -bench . -benchmem ekyu.moe/base91
42+
$ go test --bench . --benchmem ekyu.moe/base91
4343
goos: windows
4444
goarch: amd64
4545
pkg: ekyu.moe/base91
46-
BenchmarkDecode-4 300 4841614 ns/op 7157763 B/op 36 allocs/op
47-
BenchmarkDecoder-4 50 35287190 ns/op 6324756 B/op 920 allocs/op
48-
BenchmarkEncode-4 300 5910366 ns/op 8673280 B/op 37 allocs/op
49-
BenchmarkEncoder-4 200 5865032 ns/op 2324512 B/op 24 allocs/op
46+
BenchmarkDecode-4 200 6484956 ns/op 7157760 B/op 36 allocs/op
47+
BenchmarkDecoder-4 200 8789155 ns/op 146.71 MB/s 2136691 B/op 2465 allocs/op
48+
BenchmarkEncode-4 300 7264316 ns/op 8673280 B/op 37 allocs/op
49+
BenchmarkEncoder-4 200 7149004 ns/op 146.67 MB/s 2808690 B/op 2 allocs/op
5050
PASS
51-
ok ekyu.moe/base91 10.910s
5251
```
5352

54-
(Approximately, 170.50 MB/s of encode speed and 6.81 MB/s of decode speed)
55-
5653
## License
5754
[BSD-3-clause](https://github.com/Equim-chan/base91-go/blob/master/LICENSE)

0 commit comments

Comments
 (0)