Recent

Author Topic: Survey: effect of the new heap.inc on the compiler.  (Read 3503 times)

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 12531
  • FPC developer.
Re: Survey: effect of the new heap.inc on the compiler.
« Reply #15 on: May 26, 2025, 05:35:49 pm »
I myself tried clean-all-install for FPC on win32 and it was 1:30 before and after. 

The variation in the cleaning itself (4-8s) is larger than any potential benefits (yes, PCIE4 SSD with cache).

Having STEAM installed seems to also deteriorate performance significantly Probably due to anti cheat hooks.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 11814
  • Debugger - SynEdit - and more
    • wiki
Re: Survey: effect of the new heap.inc on the compiler.
« Reply #16 on: May 27, 2025, 05:56:49 pm »

Lazarus IDE is really large project.

It takes too much time to recompile and to rebuild it.

Your solution did not help me to rebuild IDE faster.

Off topic: Depending on your PC it should take between 1 minute (fast PC, no extra packages) and 5 minutes (10 year old 32bit, 2 core only, with magnetic HDD).

If it takes significantly longer:
- Ensure you do  NOT smartlink (especially if you are low on free memory)
- Compile with O1 or no optimization
- Maybe try compile without debug info -g-  but that should only matter if you have a really really really slow disk.

If you need more on this topic, please create a new thread (and do not reply to this here)

runewalsh

  • Full Member
  • ***
  • Posts: 106
Re: Survey: effect of the new heap.inc on the compiler.
« Reply #17 on: July 26, 2025, 05:06:28 pm »
Compiling Cheat Engine with FPC trunk / FPC trunk -dLEGACYHEAP. ^ω^

 

TinyPortal © 2005-2018