[fpc-devel] The 15k bounty: Optimizing executable speed for Linux x86 / LLVM

Simon Kissel simon.kissel at nerdherrschaft.com
Fri Nov 16 20:22:52 CET 2018

Hi guys,

turns out that in our real-life scenario there sadly aren't big
improvements yet. Might be due to the exception handling, but
we haven't profiled it yet. As said we have seen better improvements
in simpler benchmark code - but this benchmark here is what
really matters for us.

Please find the benchmark here - the ZIP includes a Kylix-built


Here are some results from a Dualcore i7 with 2 cores and 4 HT,
32 bit:

Time: 5015ms = 9770688 pkts/s = 14610 MB/s
./vipribenchmemcache_nodeps_kylix  5.06s user 0.01s system 99% cpu 5.119 total

FPC 3.0.4:
Time: 5052ms = 8016627 pkts/s = 11987 MB/s
./vipribenchmemcache  5.07s user 0.01s system 97% cpu 5.206 total

FPC 3.3.1 trunk (SVN Rev 40300):
Time: 5040ms = 8035714 pkts/s = 12016 MB/s
./vipribenchmemcache_nodeps  5.07s user 0.02s system 97% cpu 5.207 total

Benchmark results for ARM will follow.



Thursday, November 15, 2018, 10:31:55 PM, you wrote:

> Am 14.11.2018 um 14:46 schrieb Simon Kissel:
>> We have not yet tested this on ARM (does it work on ARM?).

> After r40321, arm-linux works as well.
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Best regards,

Simon Kissel

Nerdherrschaft GmbH
Mainzer Str. 40
55411 Bingen am Rhein

Phone:        +49-6721-9492994
Fax:          +49-6721-9492996

simon.kissel at nerdherrschaft.com

Registered office/Sitz der Gesellschaft: Bingen am Rhein, Germany
CEO/Geschäftsführer: Simon Kissel
Commercial register/Handelsregister: Amtsgericht Mainz HRB43337

More information about the fpc-devel mailing list