<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>NCS 2.0.2: slow build</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/91426/ncs-2-0-2-slow-build</link><description>Hi, 
 in my company, we are using an nRF9160 on a custom board. Recently we updated from NCS 1.8.0 to 2.0.2 (we also still use spm for now). 
 1.8.0 was already not super fast, when it comes to build time, but building with NCS 2.0.2 takes like 10 times</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 01 Sep 2022 10:25:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/91426/ncs-2-0-2-slow-build" /><item><title>RE: NCS 2.0.2: slow build</title><link>https://devzone.nordicsemi.com/thread/384296?ContentTypeID=1</link><pubDate>Thu, 01 Sep 2022 10:25:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c79afb6d-480a-4ffa-a169-ad353144e8de</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Thanks, will try to figure this out, and see if i can replicate a similar result.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;If there are some antivirus running then try to pause this, or check if it is taking up a lot of recourses while building.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Alternative it to test on a different but similar computer, se if the same happens then.&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS 2.0.2: slow build</title><link>https://devzone.nordicsemi.com/thread/384244?ContentTypeID=1</link><pubDate>Thu, 01 Sep 2022 05:06:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4115df6c-8ad3-442e-8664-2b32fcb8e1e0</guid><dc:creator>MaLu</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;# nRFConnect System Report - 2022-09-01T05-00-21.626Z

- System:     FUJITSU ESPRIMO P758
- BIOS:       FUJITSU // American Megatrends Inc. FUJ    - 12500000
- CPU:        1 x Intel Core™ i5-9400 2.9 GHz 6 cores (6 physical)
- Memory:     5.6 GB free of 15.7 GB total
- Filesystem: C: (NTFS) 236.3 GB 60.5% used

- OS:         Microsoft Windows 10 Pro (10.0.19042) Windows ia32

- Versions
    - kernel: 10.0.19042
    - git: 2.36.1.windows.1
    - node: 14.16.0
    - python: 3.9.0
    - python3: 
    - nrf-device-lib-js: 0.4.11
    - nrf-device-lib: 0.11.8
    - nrfjprog DLL: 10.15.4
    - JLink: JLink_V7.58b

- Connected devices:
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Thanks for looking into this. Here is the report. I cannot promise to get the clear from IT to install VM stuff though.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS 2.0.2: slow build</title><link>https://devzone.nordicsemi.com/thread/383985?ContentTypeID=1</link><pubDate>Tue, 30 Aug 2022 17:11:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e88122d2-4be6-48c3-b63c-0c0ce94181e3</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;There is some difference from before and after v2.0.0 when it comes to time it seems but I am not getting as bad results as you are, only a couple of seconds not minutes. With TFM=Y then I do get 30+ sec in&amp;nbsp;difference.&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;So the fact that you are getting 7 times slower is not good and I understand your frustration.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Not a solution to your problem but I know for a fact that building on a Linux system does go much faster, so you could try to set up a virtual machine wit Linux and see if that is a better experience, I know it works for me, as windows is a bit slow when it comes to building.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;can you open the nRF connect Desktop app and click the create system report&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1661879460280v1.png" alt=" " /&gt;&lt;br /&gt;Like this&lt;br /&gt;&lt;br /&gt;And share the file with me.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS 2.0.2: slow build</title><link>https://devzone.nordicsemi.com/thread/383673?ContentTypeID=1</link><pubDate>Mon, 29 Aug 2022 12:14:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38fc7058-ce04-47a8-9756-6f23db39a9b2</guid><dc:creator>MaLu</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;I am on Windows and have used the toolchain manager in nRF Connect for Dektop to install both.&lt;/p&gt;
&lt;p&gt;As I said, I migrated the application we build at our company, so it is basically the same thing. I even made sure both use spm still, instead of tfm. There wasn&amp;#39;t much else to change necessary to jump the versions.&lt;/p&gt;
&lt;p&gt;Even when just building the hello world sample for nrf9160dk_ns with the VSCode extension I get the same result. (Of course you have to add&amp;nbsp;&lt;code&gt;&lt;span&gt;CONFIG_BUILD_WITH_TFM&lt;/span&gt;&lt;/code&gt;&lt;span&gt;&lt;code&gt;=n&lt;/code&gt;&amp;nbsp;&lt;/span&gt;when building with 2.0.2 to make it actually comparable)&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The hello world sample build times are as follows:&lt;/p&gt;
&lt;p&gt;1.8.0: ~1m&lt;br /&gt;2.0.2 (tfm off): ~7m40s&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;My System also shouldn&amp;#39;t be too underpowered with an i5-9400 and 16GB Ram.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS 2.0.2: slow build</title><link>https://devzone.nordicsemi.com/thread/383660?ContentTypeID=1</link><pubDate>Mon, 29 Aug 2022 11:47:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8067288f-4517-4276-82ed-cf06476e58ac</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;What platform are you on, Windows/Linux/Mac ?&lt;br /&gt;&lt;br /&gt;Are you using the nRF Connect for Desktop app to install the toolchain ?&lt;br /&gt;&lt;br /&gt;If you where to build two similar projects in both NCS 1.8.0 and NCS 2.0.0 are the times comparable or is one still substantially slower then the other?&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>