Skip to content

Commit 1a1fbda

Browse files
committed
add docs and manifest entry
1 parent d0aa8d0 commit 1a1fbda

File tree

3 files changed

+31
-0
lines changed

3 files changed

+31
-0
lines changed

doc/benchmarks.rst

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,32 @@ These benchmarks also have an "eager" flavor that uses asyncio eager task factor
7676
if available.
7777

7878

79+
base64
80+
------
81+
82+
Benchmark the ``base64`` module's encoding and decoding functions across
83+
various data sizes (20 bytes, 127 bytes, 3 KB, and 100 KB).
84+
85+
Available benchmarks:
86+
87+
* ``base64_encode``: Standard Base64 encoding (``b64encode``)
88+
* ``base64_decode``: Standard Base64 decoding (``b64decode``)
89+
* ``base64_decode_validate``: Base64 decoding with ``validate=True``
90+
* ``urlsafe_base64_encode``: URL-safe Base64 encoding (``urlsafe_b64encode``)
91+
* ``urlsafe_base64_decode``: URL-safe Base64 decoding (``urlsafe_b64decode``)
92+
* ``base32_encode``: Base32 encoding (``b32encode``)
93+
* ``base32_decode``: Base32 decoding (``b32decode``)
94+
* ``base16_encode``: Base16/hex encoding (``b16encode``)
95+
* ``base16_decode``: Base16/hex decoding (``b16decode``)
96+
* ``ascii85_encode``: Ascii85 encoding (``a85encode``)
97+
* ``ascii85_decode``: Ascii85 decoding (``a85decode``)
98+
* ``ascii85_encode_wrapcol``: Ascii85 encoding with ``wrapcol=76``
99+
* ``base85_encode``: Base85 encoding (``b85encode``)
100+
* ``base85_decode``: Base85 decoding (``b85decode``)
101+
102+
See the `base64 module <https://docs.python.org/dev/library/base64.html>`_.
103+
104+
79105
chameleon
80106
---------
81107

doc/changelog.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
Changelog
22
=========
33

4+
Version 1.14.0
5+
--------------
6+
* Add base64 module benchmark (b64, b32, b16, a85, b85)
7+
48
Version 1.13.0 (2025-10-27)
59
--------------
610
* Re-enable xdsl benchmark

pyperformance/data-files/benchmarks/MANIFEST

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ async_tree_eager_memoization_tg <local:async_tree>
2424
asyncio_tcp <local>
2525
asyncio_tcp_ssl <local:asyncio_tcp>
2626
asyncio_websockets <local>
27+
base64 <local>
2728
bpe_tokeniser <local>
2829
concurrent_imap <local>
2930
coroutines <local>

0 commit comments

Comments
 (0)