Skip to content

Commit 7619250

Browse files
authored
[no-ci] Update README.md
1 parent f818d44 commit 7619250

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ characters makes accelerated decoding somewhat difficult. We refer to this decod
1313

1414
The C# standard library has fast (SIMD-based) base64 encoding functions. It also has fast decoding
1515
functions. Yet these accelerated base64 decoding functions for UTF-8 inputs in the .NET runtime are not optimal:
16-
we beat them by 1.7 x to 1.9 x on inputs of a few kilobytes or more by using a novel different algorithm.
16+
we beat them by 1.7 x to 2.3 x on inputs of a few kilobytes by using a novel different algorithm.
1717
This fast WHATWG forgiving-base64 algorithm is already used in major JavaScript runtimes (Node.js and Bun).
1818

1919
A full description of the new algorithm will be published soon. The algorithm is unpatented (free) and we make our
@@ -27,10 +27,11 @@ We process the data as UTF-8 (ASCII) using the .NET accelerated functions
2727
as a reference (`System.Buffers.Text.Base64.DecodeFromUtf8`).
2828

2929

30-
| processor | SimdBase64 (GB/s) | .NET speed (GB/s) | speed up |
30+
| processor and base freq. | SimdBase64 (GB/s) | .NET speed (GB/s) | speed up |
3131
|:----------------|:------------------------|:-------------------|:-------------------|
3232
| Apple M2 processor (ARM, 3.5 Ghz) | 6.5 | 3.8 | 1.7 x |
33-
| Intel Ice Lake (2 GHz) | 6.5 | 3.4 | 1.9 x |
33+
| AWS Graviton 3 (ARM, 2.6 GHz) | 3.6 | 2.0 | 1.8 x |
34+
| Intel Ice Lake (2.0 GHz) | 6.5 | 3.4 | 1.9 x |
3435
| AMD EPYC 7R32 (Zen 2, 2.8 GHz) | 6.8 | 2.9 | 2.3 x |
3536

3637

0 commit comments

Comments
 (0)