After installing manjaro’s system (including KDE and gnome), I tried to compile a previous Qt solution (with qml and c++) project and found that the compile time is significantly higher compared to Mint and windows:
win 5min.
mint 5-6min
Manjaro 8-10min
I did some of the following experiments, which pretty much eliminated the influence of the following factors
Desktop effects
graphics card drivers
opengl settings
Third-party library
storage media (I have 2 ssd)
Plugins for qt
linux kernels
desktop environments
compiler versions
I’m just about to migrate from mint to manjaro, personally I still like manjaro, this phenomenon does not match my perception, I also expect manjaro to be superior in performance, can any expert tell me if this phenomenon is normal, or I have something wrong, or what can be optimized I ignored.
With information on my installation of manjaro:
KDE Plasma: 5.19.5
KDE Framework: 5.74.0
Qt: 5.15.1
Kernel: 5.18.11-1
DO NOT ASK FOR HELP ON THE ARCH FORUMS UNLESS YOU NEED HELP WITH ARCH!! This violates their forum rules, you will be shamed, your post will be binned and your account will be banned.
As you noticed, the Arch forums do not take kindly to ignoring their rules. They also expect you to have explored the Arch Wiki before posting. You did neither. Crossposting the same thing in multiple places is also bad etiquette.
That’s no excuse. If you’re in such a hurry you put yourself first and ignore others wishes, no one is going to be in a hurry to help you.
If you need help with Manjaro, you’re already in the right place. That doesn’t mean you can slack off, however.
Interesting, but without any specific compilation commands or flags (which you have to be sure they’re all the same across OSes), nothing can be drawn as conclusion.
What’s weird is that win is the fastest in your case, which is outright impossible if you’re using the same gcc (version and flags) as windows’ process creation is much more complex and slower in general. The case could be understood if you use vcc instead, that one is optimized better for faster compilation on windows (no idea what technique is used, but I don’t think it’s the same make spawning gcc or another make hierarchically).
One thing you can do is to check whether the resulting binary is of the same size (among Linuxes only). If they’re not, then you know they’re not executing the same command.
I also used cinamon on manjaro, but with the same results, it’s still slow, and there seem to be other minor issues with manjaro’s cinamon desktop environment!
Sure,Our project is industrial software, running in a equipment, 3 to 5 minutes delay per compile for our current project level represents twice as slow efficiency compared to mint, and more impact in team work, which determines the choice of development environment.
I don’t have a clue as to the exact cause of the slowness, at least I think I’ve ruled out other causes, and only located the difference between Manjaro and Mint, sorry if it’s really not the right place to post it.