Giter Site home page Giter Site logo

turbobase64's Introduction

TurboBase64: Turbo Base64 Encoding Build Status

Turbo Base64 Encoding library
  • 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


Benchmark:

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

Compile:

    make

Usage:

    ./turbob64 file

Environment:

OS/Compiler (32 + 64 bits):
  • Linux: GNU GCC (>=4.6)
  • clang (>=3.2)
  • Windows: MinGW
  • Windows: Visual Studio 2015
References:

Last update: 16 MAR 2017

turbobase64's People

Contributors

powturbo avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.