#1 2022-03-14 00:31:35

edwinsn
Member
Registered: 2010-07-02
Posts: 1,201

an idea - include FastBase64_EncDec in benchmark next time

@ab,

Just an idea - in case you are interested, this is a new Base64 encoder which you can include in any benchmark wink

https://github.com/fatihtsp/FastBase64_EncDec


Delphi XE4 Pro on Windows 7 64bit.
Lazarus trunk built with fpcupdelux on Windows with cross-compile for Linux 64bit.

Offline

#2 2022-03-14 07:46:18

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 13,504
Website

Re: an idea - include FastBase64_EncDec in benchmark next time

This is for Win64 and Delphi only.
And released under GPL, so not usable in any non-GPL project.

Our code is for FPC only, because Delphi inlined asm does not support AVX2 - even Alexandria is buggy because they can't align DB buffers to 32 bytes, which is required for AVX2 aligned moves. sad

But the benchmark part of this project is very limited: TStopWatch has a too small resolution.
Our version is doubled enrolled, so should scale better especially on latest CPUs which have better parallelization.

Offline

#3 2022-03-14 08:03:05

edwinsn
Member
Registered: 2010-07-02
Posts: 1,201

Re: an idea - include FastBase64_EncDec in benchmark next time

@ab,
Oh I see, you are professional in this area, and I only look at the description.


Delphi XE4 Pro on Windows 7 64bit.
Lazarus trunk built with fpcupdelux on Windows with cross-compile for Linux 64bit.

Offline

Board footer

Powered by FluxBB