basE91 बनाम Base64 सरल बेंचमार्क
संस्करण
'base64 --help' चलाकर अधिक जानकारी प्राप्त करें।
alleycat:[haturatu]:~$ base64 --version
base64 (GNU coreutils) 9.5
Copyright (C) 2024 Free Software Foundation, Inc.
लाइसेंस GPLv3+: GNU GPL संस्करण 3 या बाद का <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
लेखक साइमन जोसेफसन।
alleycat:[haturatu]:~$ base91 --version
base91 0.6.0
Copyright (c) 2000-2006 Joachim Henke
बेंचमार्क
अत्यंत सरल
alleycat:[haturatu]:~$ time for i in {1..10000}; do echo "test" | base91 ; done > 91
real 0m11.381s
user 0m10.460s
sys 0m5.118s
alleycat:[haturatu]:~$ time for i in {1..10000}; do echo "test" | base64 ; done > 64
real 0m11.985s
user 0m10.787s
sys 0m5.219s
alleycat:[haturatu]:~$ time for i in {1..10000}; do echo "test" | base91 ; done > 91
real 0m11.569s
user 0m10.640s
sys 0m5.071s
alleycat:[haturatu]:~$ time for i in {1..10000}; do echo "test" | base64 ; done > 64
real 0m11.864s
user 0m10.725s
sys 0m5.189s
पृष्ठभूमि
मुझे मेलिंग सूची संग्रह में निम्नलिखित मिला:
Bug#706078: ITP: base91 – base91 encoder/decoder
It amounts at most to 23% (versus 33% for base64) and can range down to 14%, which typically occurs on 0-byte blocks. This makes basE91 very useful for transferring larger files over binary insecure connections like e-mail or terminal lines.
क्या यह एक सत्यापन है...?
सभी का पसंदीदा बोनस अनुभाग।
ब्राउज़र में basE91 को आसानी से उत्पन्न करने के लिए कुछ भी नहीं था... इसलिए
basE91 Encode/Decode