Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] can't mount devices, nor shut down after re-emer...
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Sat Aug 21, 2021 6:55 pm    Post subject: Reply with quote

Indeed fantastic thread.
My stats with MAKEOPTS="-j4" on a tmpfs 12G /var/tmp/portage and turbo-boost disabled with USE="jit"
Code:

     Sat Aug 21  2021 >>> dev-lang/spidermonkey-78.13.0
       merge time: 10 minutes and 23 seconds.


Maybe I should go back to spidermonkey-polkit.
Nice thread indeed!
_________________
:)
Back to top
View user's profile Send private message
Daemon14
Tux's lil' helper
Tux's lil' helper


Joined: 05 Feb 2005
Posts: 120
Location: Poland / Colombia

PostPosted: Sat Aug 21, 2021 11:15 pm    Post subject: Reply with quote

I think clang was the problem. I was actually wondering if clang may build it faster but I see it wouldn't.
Jit is supposedly improving the performance but who knows :-)

when I was building it, I was using these flags:
Code:
dev-lang/spidermonkey-78.13.0:78::gentoo  USE="jit lto -clang -debug -test"

_________________
Dell Optiplex 7010 / CPU Core i7-3770K / RAM 16GB Patriot Viper III / GTX 1050 2GB / SSD 500GB + 2x HDD 2TB
Dell Latitude E6440 / CPU Core i5-4300M / RAM 8GB / SSD 120GB + HDD 500GB
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9691
Location: almost Mile High in the USA

PostPosted: Sat Aug 21, 2021 11:38 pm    Post subject: Reply with quote

I think the javascript used in polkit is not very complex and you may not see much of a difference.

However it seems the javascript embedded in html webpages are much more complicated, perhaps even javascript as part of browser code too, and this is much more cpu intensive.

I would suspect that duktape would be slower than JIT spidermonkey, but again with the short nonlooping script nature of access control, it won't matter too much ...
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Daemon14
Tux's lil' helper
Tux's lil' helper


Joined: 05 Feb 2005
Posts: 120
Location: Poland / Colombia

PostPosted: Sun Aug 22, 2021 12:41 am    Post subject: Reply with quote

eccerr0r yes, I agree. I don't think polkit uses spidermonkey in 100% so even if duktape is slower, less advanced or even less stable, it doesn't really matter. I don't use firefox so switching to duktape shouldn't cause any inconveniences.
_________________
Dell Optiplex 7010 / CPU Core i7-3770K / RAM 16GB Patriot Viper III / GTX 1050 2GB / SSD 500GB + 2x HDD 2TB
Dell Latitude E6440 / CPU Core i5-4300M / RAM 8GB / SSD 120GB + HDD 500GB
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
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