View previous topic :: View next topic |
Author |
Message |
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2342
|
Posted: Tue Oct 15, 2024 11:00 am Post subject: |
|
|
Chiitoo wrote: | Zucca wrote: | Code: | 2024-10-14T12:47:02 >>> dev-qt/qtwebengine: 9:19:17 | on Code: | Intel(R) Core(TM) i5-7600T (4) @ 3.70 GHz | with 32GiB of RAM.
Holy compilation marathon, Batman!
I knew qtwebengine was big, but that big? Although I had USE=-jumbo-build.
Has anyone measured how much jumbo-build reduces the compilation time? In percents? |
It's been a while since I actually tried, but I would still guess it should be about 50% of the time with 'jumbo-build' disabled (assuming the increased memory-use will not be a problem). |
Back in the days of jumboo-enabled chromium builds it was something like 7 hours compared to more than 35 hours for my poor old E6200 - dual core dual thread processor with 6 GB of RAM.
Chiitoo wrote: | Zucca wrote: | Also I always thought it was based on webkit and not the chromium (blink) fork.
|
There was Qt Webkit [1], which kind of fell into slumber, and eventually lost its outside-Qt maintainers as well.
1. https://code.qt.io/cgit/qt/qtwebkit.git/ |
Chromium was initially based on webkit but that was more than a decade ago. That's why it was fast and compiled quickly. Then I abandoned Linux for a while and I don't know when it dropped the webkit part and became the monster that it now is.
Webkit itself was an internal Apple project that I think Safari was based on. It may still be.
p.s. I just checked because I remember something about KDE. Webkit is a fork of KHTML.
Best Regards,
Georgi |
|
Back to top |
|
|
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3657 Location: Rasi, Finland
|
Posted: Tue Oct 15, 2024 5:35 pm Post subject: |
|
|
eschwartz wrote: | Counterpoint: -O0 disables optimizations that lead to smaller code size, which means that the linker needs to do more work to link it all. | Ah. I didn't think that... Good (counter)point. ;)
Anyways... webkit-gtk seems quite lighter to compile: Code: | 2024-10-15T03:44:16 >>> net-libs/webkit-gtk: 5:38:39 | .
I might as well now rebuild both with USE=jumbo-build... Let's gather some statistics. _________________ ..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
|
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3657 Location: Rasi, Finland
|
Posted: Wed Oct 16, 2024 6:08 am Post subject: |
|
|
USE=jumbo-build: | M710q ~ # qlop
2024-10-15T22:49:10 >>> net-libs/webkit-gtk: 1:51:00
2024-10-16T00:40:10 >>> dev-qt/qtwebengine: 4:57:55 |
As expected. Webkit-gtk compiles quite a lot faster with jumbo-build. _________________ ..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
|
tckosvic Tux's lil' helper
Joined: 18 Apr 2023 Posts: 117
|
Posted: Mon Oct 21, 2024 12:42 pm Post subject: |
|
|
I just did an emerge update and emerge compiled two different versions of qtwebengine in one emerge task. These were 5.15.14 and 6.7.3. This took about a day and a half on a reasonably fast i7 chip with 6 cpus dedicated to the task.
I am not sure how this could occur. Anyone with any insights? |
|
Back to top |
|
|
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2342
|
Posted: Mon Oct 21, 2024 1:18 pm Post subject: |
|
|
tckosvic wrote: | I just did an emerge update and emerge compiled two different versions of qtwebengine in one emerge task. These were 5.15.14 and 6.7.3. This took about a day and a half on a reasonably fast i7 chip with 6 cpus dedicated to the task.
I am not sure how this could occur. Anyone with any insights? |
When two versions can coexist, they are given slots, so that applications requiring different versions can still coexist together. You emerged two different slots. Whether you have applications that necessitated it or you just had qtwebengine in world and portage found the update.
Best Regards,
Georgi |
|
Back to top |
|
|
|