Skip to content

Commit 2c583bf

Browse files
authored
Merge pull request #102 from georges-hatem/main
Delphi port of my FPC implementation, for comparison on Windows x64
2 parents a0ff212 + 52f3aad commit 2c583bf

File tree

5 files changed

+254
-148
lines changed

5 files changed

+254
-148
lines changed

entries/ghatem-fpc/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,4 +182,9 @@ is it due to:
182182

183183
Better wait and see the results on the real environment, before judging.
184184

185+
### results
185186

187+
** ACTUAL TIMING: 6.042 seconds as per gcarreno **
188+
189+
Due to the unexpectedly slow performance on Craig Chapman's powerful computer, and since the results above intrigued me, I have ported my FPC code onto Delphi to be able to compare the output of both compilers on Windows x64.
190+
Hopefully, it will help identify is the issue stems from Windows x64 or FPC, in multi-threaded implementations.

entries/ghatem/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,3 +110,10 @@ If there are any improvements to be done in this single-threaded version, they w
110110
- try improve the extraction of string data, maybe using pointers (6.5 sec / 23 sec)
111111
- try improve the type conversion, though not sure how at this point (4.5 sec / 23 sec)
112112
- somehow, incrementing an integer 1B times is taking 1.2 seconds, while incrementing the main input index (16B times) is only taking 0.5 second. It's just 1.2 seconds, but I'm not understanding why it should behave that way.
113+
114+
115+
# Delphi port of my FPC implementation, to try and compare performance issues on Craig Chapman's PC:
116+
117+
Somehow on Windows x64, Craig and Gus noticed very poor performance as compared to Gus' setup on Linux FPC.
118+
Is it a Windows vs Linux problem? or a Delphi vs FPC problem?
119+
After discussing the matter with Gus, here's a (as close as possible) port of my FPC code onto Delphi, so we can compare the generated exe out of both compilers.

0 commit comments

Comments
 (0)