Recent

Author Topic: FPC's Binary Trees score for "Benchmarks Game" just went way up! :)  (Read 3829 times)

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7446
Re: FPC's Binary Trees score for "Benchmarks Game" just went way up! :)
« Reply #15 on: March 08, 2019, 09:37:33 pm »
Congratulations :_)

silvestre

  • New Member
  • *
  • Posts: 42
Re: FPC's Binary Trees score for "Benchmarks Game" just went way up! :)
« Reply #16 on: March 08, 2019, 09:59:19 pm »
Great merit. Congratulations to you and to all those who make Freepascal+lazarus possible! :o :o :o :)


Ok, so, FPC is now number one! I came up with another revised version, and submitted it earlier today.

https://benchmarksgame-team.pages.debian.net/benchmarksgame/performance/binarytrees.html

ASBzone

  • Sr. Member
  • ****
  • Posts: 250
  • Automation leads to relaxation...
    • BrainWaveCC Utilities
Re: FPC's Binary Trees score for "Benchmarks Game" just went way up! :)
« Reply #17 on: March 08, 2019, 10:52:26 pm »
Kudos to Akira1364 and FPC developers!

 ;D
-ASB: https://www.BrainWaveCC.com

Lazarus v2.0.5 r62023 / FPC v3.2.0-beta-r43192 (via FpcUpDeluxe) -- Windows 64-bit install w/32-bit cross-compile
Primary System: Windows 10 Pro x64, Version 1903 (Build 18362.356)
Other Systems: Windows 10 Pro x64, Version 1809 or greater

Nitorami

  • Sr. Member
  • ****
  • Posts: 368
Re: FPC's Binary Trees score for "Benchmarks Game" just went way up! :)
« Reply #18 on: March 09, 2019, 09:11:41 am »
It moved to place 5. Die they re-run the test ?

Thaddy

  • Hero Member
  • *****
  • Posts: 8927
Re: FPC's Binary Trees score for "Benchmarks Game" just went way up! :)
« Reply #19 on: March 09, 2019, 09:28:46 am »
@Grumpy.

Did you actually compile and run the program.
Of course I did, hence I knew it was the mode..... Bad eyes?
Most people that want to use threading should learn to patch their jeans first: use a needle.

Thaddy

  • Hero Member
  • *****
  • Posts: 8927
Re: FPC's Binary Trees score for "Benchmarks Game" just went way up! :)
« Reply #20 on: March 09, 2019, 09:33:58 am »
Well, the changes did improve it, but the cores are less stressed now (compared to yesterday). So there's a lot of improvement to make: the cores should reach close to 100% each.
32% 82% 91% 92% ? That's the lowest (core 32%) load from the first 10 at least, not average load, .... Means there's really much to gain.
Also: compared to yesterday the mem use has gone up, which suggests a MM change? Pity there's no way to see what caused this anomaly. Yesterday one of the cores ran at 100% I believe.
« Last Edit: March 09, 2019, 09:43:17 am by Thaddy »
Most people that want to use threading should learn to patch their jeans first: use a needle.

Akira1364

  • Hero Member
  • *****
  • Posts: 530
Re: FPC's Binary Trees score for "Benchmarks Game" just went way up! :)
« Reply #21 on: March 09, 2019, 05:48:52 pm »
It was my fault, I was playing around with submitting some more alternate versions last night.

I had him put the original first-place FPC one back up now along with the other one, and they're both at the very top again. So we should be ok, haha.

https://benchmarksgame-team.pages.debian.net/benchmarksgame/performance/binarytrees.html

I've learned from Bero (author of PasMP) that the particular way I'm using the ParallelFor callback is likely to be unstable though, so I'm going to try to make one that is still the fastest, but will also not fluctuate as much every time the benchmark is run. Probably not for a few days though.
« Last Edit: March 10, 2019, 01:49:16 am by Akira1364 »

Thaddy

  • Hero Member
  • *****
  • Posts: 8927
Re: FPC's Binary Trees score for "Benchmarks Game" just went way up! :)
« Reply #22 on: March 10, 2019, 10:29:06 am »
Nice to see it is currently the very top...
Most people that want to use threading should learn to patch their jeans first: use a needle.



VTwin

  • Hero Member
  • *****
  • Posts: 775
  • Former Turbo Pascal 3 user
Re: FPC's Binary Trees score for "Benchmarks Game" just went way up! :)
« Reply #25 on: March 11, 2019, 07:52:52 pm »
Very cool!
“Talk is cheap. Show me the code.” -Linus Torvalds

macOS 10.13.6: Lazarus 2.0 fixes svn 61930 (64 bit Cocoa)
Ubuntu 18.04.3: Lazarus 2.0.4 (64 bit on VBox)
Windows 7 Pro SP1: Lazarus 2.0.4 (64 bit on VBox)
fpc 3.0.4

igouy

  • New Member
  • *
  • Posts: 25
Re: FPC's Binary Trees score for "Benchmarks Game" just went way up! :)
« Reply #26 on: March 14, 2019, 04:07:30 pm »
Now optimize  all the other scores

That's something you can try to do, yourself.