Recent

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

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 12107
  • FPC developer.
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

  • Jr. Member
  • **
  • Posts: 80
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

  • Hero Member
  • *****
  • Posts: 717
  • Automation leads to relaxation...
    • Free Console Utilities for Windows (and a few for Linux) from BrainWaveCC
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 v3.5.0.0 (2216170cde) / FPC v3.2.3-1387-g3795cadbc8
(Windows 64-bit install w/Win32 and Linux/Arm cross-compiles via FpcUpDeluxe on both instances)

My Systems: Windows 10/11 Pro x64 (Current)

Nitorami

  • Hero Member
  • *****
  • Posts: 508
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: 16652
  • Kallstadt seems a good place to evict Trump to.
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?
But I am sure they don't want the Trumps back...

Thaddy

  • Hero Member
  • *****
  • Posts: 16652
  • Kallstadt seems a good place to evict Trump to.
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 »
But I am sure they don't want the Trumps back...

Akira1364

  • Hero Member
  • *****
  • Posts: 563
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: 16652
  • Kallstadt seems a good place to evict Trump to.
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...
But I am sure they don't want the Trumps back...



VTwin

  • Hero Member
  • *****
  • Posts: 1224
  • 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

Free Pascal Compiler 3.2.2
macOS 14.5: Lazarus 3.4 (64 bit Cocoa M1)
Ubuntu 18.04.3: Lazarus 3.4 (64 bit on VBox)
Windows 7 Pro SP1: Lazarus 3.4 (64 bit on VBox)

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.

Akira1364

  • Hero Member
  • *****
  • Posts: 563
Re: FPC's Binary Trees score for "Benchmarks Game" just went way up! :)
« Reply #27 on: December 22, 2024, 03:13:46 am »
For example, Fasta position 52!

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

Now optimize  all the other scores

I did, in fact, improve Fasta a bunch, eventually, lol. Also Mandelbrot. It's not really possible to keep up with the top scores for some of these benchmarks nowdays though, since a lot of them are using intrinsics that aren't exposed quite the same way in FPC currently.

There are still others that could be improved significantly though, I might get back to fiddling with these at some point. Haven't been doing quite nearly as much with Pascal as I used to recently, though.

lainz

  • Hero Member
  • *****
  • Posts: 4690
  • Web, Desktop & Android developer
    • https://lainz.github.io/
Re: FPC's Binary Trees score for "Benchmarks Game" just went way up! :)
« Reply #28 on: December 22, 2024, 07:36:23 am »
Seems that's not at top anymore... But is strange because when you open the details page the seconds to complete are different... Fpc is faster in that details page...

 %)

Akira1364

  • Hero Member
  • *****
  • Posts: 563
Re: FPC's Binary Trees score for "Benchmarks Game" just went way up! :)
« Reply #29 on: December 30, 2024, 07:42:43 am »
Seems that's not at top anymore... But is strange because when you open the details page the seconds to complete are different... Fpc is faster in that details page...

 %)

It hasn't been the top for a bit now yeah. Took a while though to be beat, so I'm happy with it. I think all the top ones are mostly using crazy intrinsics and stuff now, like I said, I'd have to look again to be sure.

 

TinyPortal © 2005-2018