We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unix-world/smartgo#1
The text was updated successfully, but these errors were encountered:
Dear Radu @unix-world
I have implemented a bench you can execute on your side: https://github.com/teal-finance/BaseXX/blob/main/examples/bench/main.go
For simplicity, this bench measures together the encoding and decoding durations:
start := time.Now() str := s92.Encode(bin) _, _ = s92.Decode(str) d := time.Since(start)
I do not think necessary to split it in two measures. But, I may be wrong… Please give me your feedback.
Please run the bench on your side as the following:
$ go run github.com/teal-finance/BaseXX/examples/bench@latest -f gpl-3.0.txt 2022/05/20 14:38:02 File: gpl-3.0.txt Size: 34 KB 2022/05/20 14:38:02 Number of loops: 28 2022/05/20 14:40:04 mtraver/base91 284 us 8% 2022/05/20 14:40:04 BaseXX/base91 1.6 s 1% 2022/05/20 14:40:04 BaseXX/base92 1.3 s 1% 2022/05/20 14:40:04 smartgo/base92 1.4 s 1%
That above execution takes about 2 minutes on my computer.
My conclusion: our both Base92 implementations have similar performance.
NB: For your information, I do not currently use my BaseXX/Base92, I have switched to https://github.com/mtraver/base91 (see the incorruptible project)
Sorry, something went wrong.
No branches or pull requests
I have did my own benchmark and my results are completely different than yours smartgo basexx is a bit faster than yours ...
unix-world/smartgo#1
The text was updated successfully, but these errors were encountered: