Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how do you guys handle qtwebengine
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2342

PostPosted: Tue Oct 15, 2024 11:00 am    Post subject: Reply with quote

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
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3657
Location: Rasi, Finland

PostPosted: Tue Oct 15, 2024 5:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3657
Location: Rasi, Finland

PostPosted: Wed Oct 16, 2024 6:08 am    Post subject: Reply with quote

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
View user's profile Send private message
tckosvic
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2023
Posts: 117

PostPosted: Mon Oct 21, 2024 12:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2342

PostPosted: Mon Oct 21, 2024 1:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Goto page Previous  1, 2, 3
Page 3 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum