Recent

Author Topic: Castle Engine Compiling Time  (Read 1109 times)

Jake012345

  • Sr. Member
  • ****
  • Posts: 270
  • 'The knowledge is the key.'
    • FPCProjectShare
Castle Engine Compiling Time
« on: April 19, 2020, 09:38:03 pm »
Hello!

I'm using /(learning) Castle Game Engine with FPC but the compiling time is annoys me :(
I'm turned off the 'troubleshooting information....' checkbox in project settings.
Anything else, what can help me?
Check my ProjectShare site and share your content: FPCShare

michalis

  • Full Member
  • ***
  • Posts: 111
    • Homepage
Re: Castle Engine Compiling Time
« Reply #1 on: April 20, 2020, 11:45:46 am »
Quote
I'm using /(learning) Castle Game Engine with FPC but the compiling time is annoys me :(

Castle Game Engine is just a set of units. There is a lot of them, but they compile relatively fast, faster than e.g. LCL :)

And the engine is compiled just once. If you compile by Lazarus, then "castle_base" package is just compiled once. If you use the build tool, then the engine is recompiled once per project.

In all cases: if you just recompile an existing project, it should be almost instant, that's what I experience.

So please describe in more detail how are you compiling projects, and what compile times you have (in seconds). Maybe you're doing something non-standard causing some slowness that I don't experience? Standard ways to compile are described on https://castle-engine.io/documentation.php .

Quote
I'm turned off the 'troubleshooting information....' checkbox in project settings.

I'm not sure what do you mean by 'troubleshooting information....' checkbox. There are various verbosity settings in the project settings. The defaults should be rather good. I would advise having Warnings and Notes = On, Hints = Off. Do not use "Show everything (-va)" in normal work, as then the output is huge.

Jake012345

  • Sr. Member
  • ****
  • Posts: 270
  • 'The knowledge is the key.'
    • FPCProjectShare
Re: Castle Engine Compiling Time
« Reply #2 on: April 22, 2020, 07:12:00 pm »
From the pressing F9 to program starting, 34 second.

But after re-Compiling the components it's reduced 9 second. Thanks ;)
Check my ProjectShare site and share your content: FPCShare

 

TinyPortal © 2005-2018