9
make Firefox faster (lemmy.world)
submitted 10 months ago by soaska@lemmy.world to c/gentoo@reddthat.com

I want to get more points in speedometer 3 using firefox. I've seen results above 20-24, but I can't get more than 12 because js takes a long time to process. What to do? Rebuild firefox with the -0fast flag?? Or do something with config. I use some fixes in it which just extend limits for everything (almost)

Any suggestions are welcome

top 8 comments
sorted by: hot top controversial new old
[-] waz@lemmy.world 1 points 10 months ago

I'm guessing you've already happened across this, but in case you haven't, here is an explanation of the the compilation flags thorium uses for it's chromium builds:

https://thorium.rocks/optimizations

It seems as good of a place to start as any.

I haven't spent a ton of time down this particular rabbit hole, but now I may have to.

[-] Lojcs@lemm.ee 1 points 10 months ago

How are they using gcc and clang at the same time?

[-] waz@lemmy.world 2 points 10 months ago

Interesting question. I don't know. I haven't actually had a chance to dig in yet.

[-] Lojcs@lemm.ee 2 points 10 months ago

Let me know if you find out pls

[-] schmerg@mas.to 0 points 10 months ago

@waz @soaska There are other reasons to be cautious about using AVX - older CPUs that support it are forcibly downclocked when the instructions are used so you'd better make sure that your vectorised loops are delivering enough benefits for the 10-20% penalty for all the rest of the code

https://stackoverflow.com/questions/35663635/why-do-processors-with-only-avx-out-perform-avx2-processors-for-many-simd-algori/44353690#44353690

https://stackoverflow.com/questions/56852812/simd-instructions-lowering-cpu-frequency

[-] waz@lemmy.world 1 points 10 months ago

Ohh, cool. Thanks for the warning. This just got complicated enough that I am definitely going to have do go down this rabbit hole.

[-] aBundleOfFerrets@sh.itjust.works 1 points 10 months ago

I realize what sub this is but really your best bet is probably to use a fork with optimized binaries (mercury comes to mind) it’s the best way to get fast firefox on arch too lol. the main repo package is fairly poor (on arch)

[-] anhydrous@lemmy.world 1 points 10 months ago

Immolo has a video on this subject https://yewtu.be/watch?v=umiVJdnZxMw

this post was submitted on 29 Aug 2024
9 points (100.0% liked)

Gentoo Linux

597 readers
1 users here now

The Gentoo Linux community for discussions, tips and tricks, and general kernel compiling

founded 2 years ago
MODERATORS