Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Announcements
»
Third party
»
SNAPPY fast builds
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Hello. I'm new to this co...
by
zeljko
[
Today
at 02:17:38 pm]
OpenDocument('Filename') ...
by
Zvoni
[
Today
at 02:17:13 pm]
WASM import error
by
Fibonacci
[
Today
at 02:09:49 pm]
Lazarus Main not building...
by
dbannon
[
Today
at 01:45:45 pm]
TCollection wiki entry
by
Thaddy
[
Today
at 01:24:21 pm]
weird error message
by
cdbc
[
Today
at 12:23:13 pm]
Freepascal
by
LeP
[
Today
at 09:40:33 am]
TTL Record Count, i.e. a ...
by
Zvoni
[
Today
at 09:10:08 am]
Printing on HP Smart Tank
by
Thaddy
[
Today
at 07:10:37 am]
P.I.S.S. a PlugIn-framewo...
by
cdbc
[
Today
at 06:38:27 am]
MVP made easier.
by
cdbc
[
Today
at 06:18:24 am]
I have made some progress...
by
onionmixer
[
Today
at 02:57:55 am]
Lazarus 4.6 may erase you...
by
Martin_fr
[July 12, 2026, 06:35:29 pm]
Best name for procedure
by
LemonParty
[July 12, 2026, 05:23:02 pm]
Fixed an RV32ec compiler ...
by
MattBradford
[July 12, 2026, 05:11:16 pm]
Many recent books on Laza...
by
Tomu
[July 12, 2026, 05:02:44 pm]
Lazarus Bugfix Release 4....
by
geraldholdsworth
[July 12, 2026, 04:35:14 pm]
International Pascal Cong...
by
zeljko
[July 12, 2026, 04:08:53 pm]
equivalent to C/C++ "offs...
by
jamie
[July 12, 2026, 02:43:16 pm]
val return code
by
ALLIGATOR
[July 12, 2026, 01:40:21 pm]
Help needed on how to do ...
by
cdbc
[July 12, 2026, 12:15:15 pm]
PascalRAL the fastest, mo...
by
Mobius1
[July 12, 2026, 11:24:00 am]
TDateTimePicker - Make th...
by
AlexanderT
[July 12, 2026, 09:57:05 am]
UI app to work with SQLit...
by
LeP
[July 12, 2026, 12:50:04 am]
Elite Arcade
by
Guva
[July 11, 2026, 11:25:29 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: SNAPPY fast builds (Read 5354 times)
guest59697
Guest
SNAPPY fast builds
«
on:
August 12, 2016, 03:13:39 pm »
hello, I did a small build of Google Snappy for Delphi and FPC (windows for now, will do linux objects too).
After a lot of environment settings and many compilers, I have done llvm builds.
Here you can found the lib and some benchmarks
http://www.dellapasqua.com/snappy64/
thank you and best regards
Roberto
Logged
Thaddy
Hero Member
Posts: 19394
Glad to be alive.
Re: SNAPPY fast builds
«
Reply #1 on:
August 12, 2016, 05:29:42 pm »
Hi Roberto! long time saw you here
I had a first look and - since I am in a bet - my only available computer at home is a Raspberrypi 3.
Sadly, linux armhf is missing
Can I help?
Also: I saw some home baked C standard library routines e.g. in snappyarm.pas.
In FreePascal you can simply link against libc.
Logged
objects are fine constructs. You can even initialize them with constructors.
guest59697
Guest
Re: SNAPPY fast builds
«
Reply #2 on:
August 12, 2016, 08:33:08 pm »
hello Thaddy, nice to meet you again!
I have updated the snappy page with zlib vs snappy
http://www.dellapasqua.com/snappy64/
with json files (from ecommerce ordering system), the ratio is similar, but the speed is 10x
this can save a lot of cpu and bandwidth on a typical client-server scenario
I did a lot of study over many algorithms with a general purpose license (see
http://mattmahoney.net/dc/text.html
), at the end a good combination of coding and toolchains permits those very good results through snappy (and for free)
probably I'll not provide linux static libraries...who uses linux knows how to gcc a library and call it from fpc :-P
cu !
btw. it's brook web framework suitable for fastcgi high demanding web server?
lighttpd+cassandra+brook
(this lib compiles?
https://pascassa.codeplex.com/
)
Logged
shobits1
Sr. Member
Posts: 271
.
Re: SNAPPY fast builds
«
Reply #3 on:
August 15, 2016, 09:33:50 pm »
I was about to ask for comparison between snappy vs SynLZ (from mormot) but found it here:
http://synopse.info/forum/viewtopic.php?id=3460&p=1
for anyone interested
.
«
Last Edit: August 15, 2016, 09:44:14 pm by shobits1
»
Logged
guest59697
Guest
Re: SNAPPY fast builds
«
Reply #4 on:
August 22, 2016, 11:06:55 pm »
I wait llvm 3.9 and will do builds for win32, win64, osx32, android, ios32, ios64
I'm seeking ways to make vectorization of loops thorugh llvm
Logged
guest59697
Guest
7GB/sec on i7
«
Reply #5 on:
August 24, 2016, 03:17:44 am »
Hello,
I have done a build using llvm 4 with polly optimizer, speed gain is negligible with large data to compress and something more with uncompress, anyway is under dev, so consider it a test...
Instead, using a basic loop using TParallel.For in my I7 I get near 7-8GB/s (this can really show a multithreaded scenario)
If you like take a look at
www.dellapasqua.com/snappy64
cheers
Roberto
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Announcements
»
Third party
»
SNAPPY fast builds
TinyPortal
© 2005-2018