- 100% C (C++ compatible headers), without inline assembly
- No other scalar base64 library encode or decode faster
- Encode or decode more than 3 times faster as other libraries
- More than 3 GB/s, saturates the fastest SSD drives
- ๐ more faster
- Portable library, both 32 and 64 bits supported
- Ready and simple to use library, no hassless dependencies
CPU: Skylake at 3.4GHz, gcc 6.2
- with TurboBench
- Single thread
- Realistic and practical benchmark with large binary game assets corpus pd3d
C Size | ratio% | C MB/s | D MB/s | Name | Description |
---|---|---|---|---|---|
42603868 | 133.3 | 3557 | 3082 | TurboB64 | TurboBase64 scalar |
42603868 | 133.3 | 5533 | 2822 | base64_sse41 | Base64 SIMD sse41 |
42603868 | 133.3 | 1715 | 1956 | TurboB64s | TurboBase64 scalar |
42603868 | 133.3 | 1262 | 1375 | fb64chromium | Google Chromium base64 |
42603868 | 133.3 | 1674 | 1250 | fbase64_plain | Base64 plain |
42603868 | 133.3 | 1675 | 1167 | fb64scalar | Scalar FastBase64 |
42603869 | 162.8 | 1122 | 816 | fb64quicktime | Apple Quicktime base64 |
43269553 | 135.4 | 903 | 171 | fb64linux | Linux base64 |
31952900 | 100.0 | 13398 | 14448 | memcpy |
(bold = pareto) MB=1.000.000
make
./turbob64 file
- Linux: GNU GCC (>=4.6)
- clang (>=3.2)
- Windows: MinGW
- Windows: Visual Studio 2015
Last update: 16 MAR 2017