eclipse-cdt-cloud / cdt-cloud-blueprint

CDT Cloud Blueprint is a template for building custom web-based C/C++ tools. It is made up of existing open source components and can be easily downloaded and installed on all major operating system platforms.
MIT License
22 stars 11 forks source link

Performance of build is slow #66

Closed MatthewKhouzam closed 6 months ago

MatthewKhouzam commented 10 months ago

The build of CDT Cloud Blueprints is not very good, making development difficult.

On my 11th Gen Intel Core i5-1145G7 with a PCI NVME and 32 GB Ram, the build takes between 6 and 13 minutes. This is when all the plug-ins are downloaded.

Bug Description:

Steps to Reproduce:

  1. run yarn
  2. Wait 5-10 minutes
  3. run yarn electron package

Additional Information

Here's a breakdown:

yarn

yarn electron package

Hope this helps

sdirix commented 7 months ago

I agree, we should not cram everything into the yarn prepare invocation. In yarn prepare we should only build the extensions so that linting, type hints etc. work in the editor of choice. We should keep an "all" script for lazy users which does "everything" and split the rest up. This then also needs to be documented in the README.

sdirix commented 6 months ago

Hi @MatthewKhouzam,

The scripts were reworked a bit and we enhanced the documentation in regards to the build steps to perform. Can you check whether this problem is now solved from your point of view.

If there any problems, feel free to reopen the issue or create a new one. Thanks!