View previous topic :: View next topic |
Author |
Message |
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3879
|
Posted: Sat Aug 21, 2021 6:55 pm Post subject: |
|
|
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 |
|
|
Daemon14 Tux's lil' helper
Joined: 05 Feb 2005 Posts: 120 Location: Poland / Colombia
|
Posted: Sat Aug 21, 2021 11:15 pm Post subject: |
|
|
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 |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9691 Location: almost Mile High in the USA
|
Posted: Sat Aug 21, 2021 11:38 pm Post subject: |
|
|
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 |
|
|
Daemon14 Tux's lil' helper
Joined: 05 Feb 2005 Posts: 120 Location: Poland / Colombia
|
Posted: Sun Aug 22, 2021 12:41 am Post subject: |
|
|
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 |
|
|
|