<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Codesys build time - EXCEEDINGLY long</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ba168d67d9/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ba168d67d9/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/ba168d67d9/</id><updated>2022-07-05T11:42:01.882000Z</updated><subtitle>Recent posts to Codesys build time - EXCEEDINGLY long</subtitle><entry><title>Codesys build time - EXCEEDINGLY long</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ba168d67d9/?limit=25#758f" rel="alternate"/><published>2022-07-05T11:42:01.882000Z</published><updated>2022-07-05T11:42:01.882000Z</updated><author><name>Ulvis</name><uri>https://forge.codesys.com/u/ulvis/</uri></author><id>https://forge.codesys.com3442120fa236b77ecb71eb83c526b58bcae78d30</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thanx for sharing!&lt;br/&gt;
I do not quite see why the project info lists 14 devices. I have only 2 PLC devices, one of which is just a dummy to hold the network configuration for that device. In reality there are 2 PLC devices in use, in redundant mode, but they get the same project code.&lt;br/&gt;
I guess there are sub-devices representing interfaces and IO card slots, but these are not in use. All interfaces are used by protocols beeing defined in ST/FBD code. All IO is placed on RIO devices (that are not part of the Codesys project).&lt;/p&gt;
&lt;p&gt;This is the project tree, where the 2nd device just has an empty application:&lt;img src="./attachment/tree.png" width="50%"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Codesys build time - EXCEEDINGLY long</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ba168d67d9/?limit=25#9946" rel="alternate"/><published>2022-07-05T11:26:26.411000Z</published><updated>2022-07-05T11:26:26.411000Z</updated><author><name>fajean</name><uri>https://forge.codesys.com/u/fajean/</uri></author><id>https://forge.codesys.comc0496b8051f5bb1a850a25608139493005b94937</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I cannot say if what you are observing is to be expected, but I can share my experience. The image attached is for one library (our biggest). After a "clean all", it compiles in less than one second. That is on a quite beefy desktop with an SSD and more than enough memory, but nothing really special.&lt;/p&gt;
&lt;p&gt;Our projects, which use a decent number of mostly internal libraries, compile within a couple of seconds after a "clean all", but going online and doing a full download probably takes around 10 seconds.  Our projects have only one device.&lt;/p&gt;
&lt;p&gt;Looking at your screenshots, my hunch is what you are experiencing might be due to the number of devices rather than the amount of code.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Codesys build time - EXCEEDINGLY long</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ba168d67d9/?limit=25#67eb" rel="alternate"/><published>2022-07-05T10:48:53.710000Z</published><updated>2022-07-05T10:48:53.710000Z</updated><author><name>Ulvis</name><uri>https://forge.codesys.com/u/ulvis/</uri></author><id>https://forge.codesys.com602e942c41345e25eaf1386ff57a378297506fd1</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello, good fellows!&lt;/p&gt;
&lt;p&gt;What are your compile/build times for  real-world sized projects?&lt;/p&gt;
&lt;p&gt;I am seeing build times of 1-2 minutes for a 20++ mb size project.&lt;br/&gt;
And the wait is really straining....&lt;br/&gt;
Not to mention that the build seems to be double up. First, 'generate code', and then as one wants to go online the whole build appears to take place again...&lt;br/&gt;
Anyway, this is the summary:&lt;img src="./attachment/summary.png" width="50%"/&gt;&lt;br/&gt;
and the project info that I could find:&lt;img src="./attachment/info.png" width="50%"/&gt;&lt;br/&gt;
I do not know how to find the number of compiled lines. So I did a pdf print of the whole project. It is 956 pages!&lt;/p&gt;
&lt;p&gt;What do you think? Is this long build time to be expected?&lt;/p&gt;
&lt;p&gt;(PC: Dell Precision 3560 i7 2.8gHz, 16gb RAM. Not the beefiest thing, but it runs ok.)&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>