Recent

Author Topic: Project Metrics  (Read 580 times)

bobonwhidbey

  • Hero Member
  • *****
  • Posts: 630
    • Double Dummy Solver - free download
Project Metrics
« on: December 18, 2025, 10:24:34 pm »
1. What does the Inspector Units tab suppose to do. I can see no difference when I click it?

2. It feels like simple compiles now take more time than they use to before I installed Project Metrics. Is this the case and if so is there a way to uninstall Project Metrics?

Lazarus 4.6 FPC 3.2.2 x86_64-win64-win32/win64

wp

  • Hero Member
  • *****
  • Posts: 13412
Re: Project Metrics
« Reply #1 on: December 18, 2025, 11:11:22 pm »
1. What does the Inspector Units tab suppose to do. I can see no difference when I click it?
https://forum.lazarus.freepascal.org/index.php/topic,71084.msg572249.html#msg572249

2. It feels like simple compiles now take more time than they use to before I installed Project Metrics. Is this the case and if so is there a way to uninstall Project Metrics?
I am not the author of this IDE extension, but I cannot imagine that it has any effect on compilation since it displays a modal form so that you don't even have the possibility to compile your project.

If you want to uninstall the package got to "Package" > "Install/Uninstall Packages" > Check the package in the LEFT left > Click "Uninstall selection", then "Rebuild IDE".

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 12202
  • Debugger - SynEdit - and more
    • wiki
Re: Project Metrics
« Reply #2 on: December 18, 2025, 11:32:32 pm »
Its highly unlikely a package like that affects the speed of compilation.

It would/could only if it was constantly "working" => then you would notice the IDE having high CPU usage even if it is completely idle. But again, I don't expect that to be the case.

What may however have happen is that the IDE is now compiled with different optimization. Installing a package recompiles the IDE (usually only very small bits of it, but you can trigger it to be more...).
If that is the case:
- go to: Tools > configure build Lazarus
- Select the profile "optimized IDE"
- and make sure the "custom options" have -O2 and then DO NOT have -gh
- then press "build" and when finished restart the IDE


If the config already is on "optimized IDE" then the rebuild is likely not changing anything.


bobonwhidbey

  • Hero Member
  • *****
  • Posts: 630
    • Double Dummy Solver - free download
Re: Project Metrics
« Reply #3 on: December 18, 2025, 11:57:29 pm »
It seems very unlikely that compilation time is being exteneded by any meaningful amount - a few nano-seconds :) at best. I think my initial perceptions were false.

I'm most curious about that Inspector Units tab. What does "Inspector Units" refer to? On my projects the two tabs are identical
Lazarus 4.6 FPC 3.2.2 x86_64-win64-win32/win64

wp

  • Hero Member
  • *****
  • Posts: 13412
Re: Project Metrics
« Reply #4 on: December 19, 2025, 01:32:49 am »
I'm most curious about that Inspector Units tab. What does "Inspector Units" refer to? On my projects the two tabs are identical
Yes, I had asked this the original author myself, but did not get a response.

 

TinyPortal © 2005-2018