Performance

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.

Moderator: trava90

Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
User avatar
mksh21
Newbie
Newbie
Posts: 5
Joined: 2023-12-19, 22:29

Performance

Unread post by mksh21 » 2023-12-19, 22:53

Operating system: Windows 10
Browser version:v32.5.1
32-bit or 64-bit browser?: 64bit
Problem URL:
Browser theme (if not default):
Installed add-ons:
Installed plugins: (about:plugins):

Good day, I recently started using palemoon and I was wondering why sometimes it feels slow on modern hadware (Ryzen 5 5600h,RTX 3060 mobile and 32gb ram). Even though I have a number of addons installed, I tried to disable them completely before making this post. What do I mean by slow? Basically whenever I try to switch through multiple loaded tabs, I have to wait for an additional second or 2 before it switches to the tab. And if I click ,accidentally, multiple times when a page is loading, Palemoon will just stop respponding for around 4-5 seconds. In addition to that, YouTube UI (not the actual video) takes a significant time to load compared to the video and the page becomes unclickable. I tried a fresh reinstall of palemoon a couple of times and nothing changed.

If possible, please include the output of help->troubleshooting information (as text):
Application Basics
------------------

Name: Pale Moon
Version: 32.5.1 (64-bit)
Build ID: 20231125232652
Update Channel: release
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:6.5) Goanna/20231125 PaleMoon/32.5.1
OS: Windows_NT 10.0
Safe Mode: false

Extensions
----------

Name: Adguard AdBlocker (Legacy)
Version: 2.6.1
Enabled: true
ID: adguardadblockerlegacy@adguard.com

Name: CanvasBlocker Legacy
Version: 0.2
Enabled: true
ID: CanvasBlocker@legacy

Name: Decentraleyes
Version: 1.4.3
Enabled: true
ID: jid1-BoFifL9Vbdl2zQ@jetpack

Name: Greasemonkey for Pale Moon
Version: 3.31.4
Enabled: true
ID: greasemonkeyforpm@janekptacijarabaci

Name: HTTPS Always
Version: 5.2.27
Enabled: true
ID: https-always@hyperbola.info

Name: Pale Moon Commander
Version: 3.0.1
Enabled: true
ID: commander@palemoon.org

Name: Proxy Privacy Ruler
Version: 1.2.4
Enabled: true
ID: pxruler@Off.JustOff

Name: Restart Browser
Version: 1.3.0
Enabled: true
ID: {9c03eb94-a057-42f0-84a6-679103d738bb}

Name: Suspender
Version: 1.0.2
Enabled: true
ID: suspender@wolfbeast.com

Name: uBlock Origin
Version: 1.16.4.30
Enabled: true
ID: uBlock0@raymondhill.net

Name: Adblock Latitude
Version: 5.0.9
Enabled: false
ID: adblocklatitude@addons.palemoon.org

Name: Block Content
Version: 0.3
Enabled: false
ID: blockcont@mdsy

Name: HTTPS Enforcer
Version: 1.0.2
Enabled: false
ID: https-enforcer@tekir.org

Name: NoScript
Version: 5.1.9
Enabled: false
ID: {73a6fe31-595d-460b-a920-fcc0f8843232}

Name: YouTube Lazy Load
Version: 1.0.6
Enabled: false
ID: youtubelazy@Off.JustOff

Graphics
--------

Features
Compositing: Basic
GPU Accelerated Windows: 0/1 Basic (OMTC)
Asynchronous Pan/Zoom: none
WebGL 1 Driver WSI Info: EGL_VENDOR: Google Inc. (adapter LUID: 0000000000011e82) EGL_VERSION: 1.4 (ANGLE 2.1.0.) EGL_EXTENSIONS: EGL_EXT_create_context_robustness EGL_ANGLE_d3d_share_handle_client_buffer EGL_ANGLE_surface_d3d_texture_2d_share_handle EGL_ANGLE_query_surface_pointer EGL_ANGLE_window_fixed_size EGL_NV_post_sub_buffer EGL_KHR_create_context EGL_EXT_device_query EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_renderbuffer_image EGL_KHR_get_all_proc_addresses EGL_ANGLE_flexible_surface_compatibility EGL_EXTENSIONS(nullptr): EGL_EXT_client_extensions EGL_EXT_platform_base EGL_EXT_platform_device EGL_ANGLE_platform_angle EGL_ANGLE_platform_angle_d3d EGL_ANGLE_device_creation EGL_ANGLE_device_creation_d3d11 EGL_ANGLE_experimental_present_path EGL_KHR_client_get_all_proc_addresses
WebGL 1 Driver Renderer: Google Inc. -- ANGLE (NVIDIA RTX 3060 Laptop Direct3D9Ex vs_3_0 ps_3_0)
WebGL 1 Driver Version: OpenGL ES 2.0 (ANGLE 2.1.0.)
WebGL 1 Driver Extensions: GL_OES_element_index_uint GL_OES_packed_depth_stencil GL_OES_get_program_binary GL_OES_rgb8_rgba8 GL_EXT_texture_format_BGRA8888 GL_EXT_read_format_bgra GL_EXT_color_buffer_half_float GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_float GL_OES_texture_float_linear GL_EXT_texture_compression_dxt1 GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ANGLE_depth_texture GL_OES_depth32 GL_EXT_texture_storage GL_OES_texture_npot GL_EXT_texture_filter_anisotropic GL_EXT_occlusion_query_boolean GL_NV_fence GL_EXT_robustness GL_EXT_blend_minmax GL_ANGLE_framebuffer_blit GL_ANGLE_framebuffer_multisample GL_ANGLE_instanced_arrays GL_ANGLE_pack_reverse_row_order GL_OES_standard_derivatives GL_EXT_shader_texture_lod GL_EXT_frag_depth GL_ANGLE_texture_usage GL_ANGLE_translated_shader_source GL_EXT_debug_marker GL_OES_EGL_image GL_OES_EGL_image_external GL_EXT_unpack_subimage GL_NV_pack_subimage GL_OES_vertex_array_object GL_KHR_debug GL_CHROMIUM_bind_uniform_location GL_CHROMIUM_sync_query
WebGL 1 Extensions: ANGLE_instanced_arrays EXT_blend_minmax EXT_color_buffer_half_float EXT_frag_depth EXT_shader_texture_lod EXT_texture_filter_anisotropic MOZ_debug_get OES_element_index_uint OES_standard_derivatives OES_texture_float OES_texture_float_linear OES_texture_half_float OES_texture_half_float_linear OES_vertex_array_object WEBGL_color_buffer_float WEBGL_compressed_texture_s3tc WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_depth_texture WEBGL_lose_context MOZ_WEBGL_lose_context MOZ_WEBGL_compressed_texture_s3tc MOZ_WEBGL_depth_texture
WebGL 2 Driver WSI Info: -
WebGL 2 Driver Renderer: WebGL creation failed: * Error during ANGLE OpenGL init. * Error during ANGLE OpenGL init. * Error during ANGLE OpenGL init. * Error during ANGLE OpenGL init. * Error during ANGLE OpenGL init. * Exhausted GL driver caps.
WebGL 2 Driver Version: -
WebGL 2 Driver Extensions: -
WebGL 2 Extensions: -
Hardware H264 Decoding: No; Hardware video decoding disabled or blacklisted
Audio Backend: wasapi
DirectWrite: false (10.0.19041.3636)
GPU #1
Active: Yes
Description: NVIDIA RTX 3060 Laptop
Vendor ID: 0x10de
Device ID: 0x2520
Driver Version: 31.0.15.4617
Driver Date: 11-9-2023
Drivers: C:\Windows\System32\DriverStore\FileRepository\nvacig.inf_amd64_2776c2d83b89efc3\nvldumdx.dll,C:\Windows\System32\DriverStore\FileRepository\nvacig.inf_amd64_2776c2d83b89efc3\nvldumdx.dll,C:\Windows\System32\DriverStore\FileRepository\nvacig.inf_amd64_2776c2d83b89efc3\nvldumdx.dll,C:\Windows\System32\DriverStore\FileRepository\nvacig.inf_amd64_2776c2d83b89efc3\nvldumdx.dll C:\Windows\System32\DriverStore\FileRepository\nvacig.inf_amd64_2776c2d83b89efc3\nvldumd.dll,C:\Windows\System32\DriverStore\FileRepository\nvacig.inf_amd64_2776c2d83b89efc3\nvldumd.dll,C:\Windows\System32\DriverStore\FileRepository\nvacig.inf_amd64_2776c2d83b89efc3\nvldumd.dll,C:\Windows\System32\DriverStore\FileRepository\nvacig.inf_amd64_2776c2d83b89efc3\nvldumd.dll
Subsys ID: 151e1025
RAM: 6144
GPU #2
Active: No
Description: AMD Radeon(TM) Graphics
Vendor ID: 0x1002
Device ID: 0x1638
Driver Version: 27.20.14032.13003
Driver Date: 4-28-2021
Drivers: aticfx64 aticfx64 aticfx64 amdxc64 aticfx32 aticfx32 aticfx32 amdxc32 atiumd64 atidxx64 atidxx64 atiumdag atidxx32 atidxx32 atiumdva atiumd6a
Subsys ID: 151e1025
RAM: 512
Diagnostics
AzureCanvasAccelerated: 0
AzureCanvasBackend: skia
AzureContentBackend: cairo
AzureFallbackCanvasBackend: cairo
Decision Log
HW_COMPOSITING:
disabled by user: Disabled by pref
D3D11_COMPOSITING:
unavailable by default: Hardware compositing is disabled
DIRECT2D:
unavailable by default: Direct2D requires Direct3D 11 compositing
D3D11_HW_ANGLE:
unavailable by default: D3D11 compositing is disabled
disabled by env: D3D11 compositing is disabled




Important Modified Preferences
------------------------------

browser.cache.check_doc_frequency: 2
browser.cache.disk.capacity: 358400
browser.cache.disk.max_entry_size: 65536
browser.cache.disk.smart_size.first_run: false
browser.cache.disk.smart_size.use_old_max: false
browser.cache.memory.max_entry_size: 20480
browser.download.importedFromSqlite: true
browser.places.smartBookmarksVersion: 4
browser.startup.homepage_override.buildID: 20231125232652
browser.startup.homepage_override.mstone: 6.5.0
browser.tabs.animate: false
browser.tabs.autoHide: true
browser.tabs.warnOnClose: false
browser.tabs.warnOnCloseOtherTabs: false
browser.tabs.warnOnOpen: false
extensions.lastAppVersion: 32.5.1
general.autoScroll: false
general.useragent.compatMode: 0
general.useragent.compatMode.firefox: false
general.useragent.compatMode.gecko: false
gfx.crash-guard.d3d11layers.appVersion: 32.5.1
gfx.crash-guard.d3d11layers.deviceID: 0x2520
gfx.crash-guard.d3d11layers.driverVersion: 31.0.15.4617
gfx.crash-guard.d3d11layers.feature-d2d: true
gfx.crash-guard.d3d11layers.feature-d3d11: true
gfx.crash-guard.status.d3d11layers: 2
gfx.crash-guard.status.d3d11video: 2
gfx.direct2d.force-enabled: true
gfx.work-around-driver-bugs: false
layers.acceleration.disabled: false
layers.acceleration.enabled: false
layers.acceleration.force-enabled: true
layers.prefer-d3d9: false
media.hardware-video-decoding.failed: false
media.peerconnection.enabled: false
network.cookie.alwaysAcceptSessionCookies: true
network.cookie.prefsMigrated: true
network.http.diagnostics: true
network.http.pipelining.aggressive: true
network.http.upgrade-insecure-requests: true
network.predictor.cleaned-up: true
network.predictor.enable-prefetch: true
network.predictor.enabled: true
places.database.lastMaintenance: 1702983801
places.history.expiration.transient_current_max_pages: 122334
privacy.sanitize.migrateFx3Prefs: true
security.default_personal_cert: Select Automatically
security.ssl3.dhe_rsa_aes_128_sha: true
security.ssl3.dhe_rsa_aes_256_sha: true
services.sync.declinedEngines:
services.sync.engine.greasemonkey: true
storage.vacuum.last.index: 0
storage.vacuum.last.places.sqlite: 1702983801
ui.osk.debug.keyboardDisplayReason: IKPOS: Touch screen not found.
webgl.force-enabled: true

Important Locked Preferences
----------------------------

Places Database
---------------

JavaScript
----------

Incremental GC: true

Accessibility
-------------

Activated: false
Prevent Accessibility: 1

Library Versions
----------------

NSPR
Expected minimum version: 4.35
Version in use: 4.35

NSS
Expected minimum version: 3.79.4
Version in use: 3.79.4

NSSSMIME
Expected minimum version: 3.79.4
Version in use: 3.79.4

NSSSSL
Expected minimum version: 3.79.4
Version in use: 3.79.4

NSSUTIL
Expected minimum version: 3.79.4
Version in use: 3.79.4

BenFenner
Astronaut
Astronaut
Posts: 588
Joined: 2015-06-01, 12:52
Location: US Southeast

Re: Performance

Unread post by BenFenner » 2023-12-19, 23:43

Regarding YouTube and similar JS-heavy behemoths and Pale Moon performance, see here: viewtopic.php?p=237432#p237432

User avatar
andyprough
Keeps coming back
Keeps coming back
Posts: 752
Joined: 2020-05-31, 04:33

Re: Performance

Unread post by andyprough » 2023-12-19, 23:48

mksh21 wrote:
2023-12-19, 22:53
I tried a fresh reinstall of palemoon a couple of times and nothing changed.
When you did a fresh reinstall, did you run Pale Moon prior to installing any extensions to see if it was still slow to switch between tabs?

The YouTube Lazy Load extension github page says 'Warning! Only old YouTube design is supported at the moment', and NoScript 5.1.9 is known to corrupt some Pale Moon profiles, and not sure what Greasemonkey scripts you are using or what they do. Looks like you have YouTube Lazy Load disabled, so that one may not be having any effect, but maybe it makes some harmful pref changes when installed?

User avatar
mksh21
Newbie
Newbie
Posts: 5
Joined: 2023-12-19, 22:29

Re: Performance

Unread post by mksh21 » 2023-12-19, 23:50

BenFenner wrote:
2023-12-19, 23:43
Regarding YouTube and similar JS-heavy behemoths and Pale Moon performance, see here: viewtopic.php?p=237432#p237432
So in other words, not much really can be done on anyones side apart from the website devs?

User avatar
mksh21
Newbie
Newbie
Posts: 5
Joined: 2023-12-19, 22:29

Re: Performance

Unread post by mksh21 » 2023-12-19, 23:59

When reinstalling palemoon, I purposefully tried to browse as usual before changing anything and I got the same result. I also tediously tried disabling addons one-by-one and restarting palemoon just in case. It made no difference. I mainly use userscripts for youtube but ,as mentioned before, it made no difference if I had them on or off (or with fresh reinstall). I read the topic considering youtube and other forum threads (from around 2019-2020) but I generally see that moving tabs around and just loading google or ecosia (or other search engines) or loading some tabs and switching tabs, palemoon doesnt feel that responsive. I checked with other browsers (ungoogled chromium, Floorp, Mercury) and they dont really have such problems.

User avatar
andyprough
Keeps coming back
Keeps coming back
Posts: 752
Joined: 2020-05-31, 04:33

Re: Performance

Unread post by andyprough » 2023-12-20, 00:11

mksh21 wrote:
2023-12-19, 23:59
I generally see that moving tabs around and just loading google or ecosia (or other search engines) or loading some tabs and switching tabs, palemoon doesnt feel that responsive. I checked with other browsers (ungoogled chromium, Floorp, Mercury) and they dont really have such problems.
It seems particular to your situation. Pale Moon is very lightweight and nimble - especially tab switching should be handled with ease. YouTube is a vexacious website for many people on many browsers - you can see there are a lot of forum posts about it here and some specialized Pale Moon extensions and tools for dealing with it.

What websites are you visiting that are causing problems besides YouTube? Are you going to a bunch of discourse forums, or doing some online gaming in the browser, or anything else that has particularly heavy javascript or graphics or media? Any websites that are constantly refreshing or constantly adding more data?

When you do a fresh install, do you find and delete the Pale Moon program files and profile folders, or do you just do the standard Windows uninstall process and then reinstall it?

User avatar
mksh21
Newbie
Newbie
Posts: 5
Joined: 2023-12-19, 22:29

Re: Performance

Unread post by mksh21 » 2023-12-20, 00:17

I tried multiple : liquipedia.net, uesp.net, 9gag.com, speedtest.net, waveform.com, privacytools.io, ecosia.org, startpage.com. I use the browser for general entertainment of watching videos and looking up information. Simply scrolling down in search engines casues the browser to stutter. When I reinstall palemoon, I use HiBit Uninstaller that searches for left-overs when deleting palemoon (It finds the left overs in program filed and profile folders you mentioned and more) so it would be a cmopletelly get rid of any leftovers of palemoon from the system. Also just to mention, all my drivers are up to date and all windows updates are installed.

User avatar
andyprough
Keeps coming back
Keeps coming back
Posts: 752
Joined: 2020-05-31, 04:33

Re: Performance

Unread post by andyprough » 2023-12-20, 03:06

mksh21 wrote:
2023-12-20, 00:17
I tried multiple : liquipedia.net, uesp.net, 9gag.com, speedtest.net, waveform.com, privacytools.io, ecosia.org, startpage.com.
I opened all those together and browsed around in them and didn't experience any problems or slowdowns with tab switching or stuttering when scrolling.

Do you have hardware acceleration enabled? Go to the Tools menu - Preferences - Advanced tab - General tab -- you should see a checkbox for 'Use hardware acceleration when available'.

Edit: I think that might be it - your first post shows you have a preference set of

Code: Select all

layers.acceleration.enabled = false
Try checking that hardware acceleration checkbox to change that preference to 'True'. See if that makes a difference for you.

User avatar
suzyne
Lunatic
Lunatic
Posts: 364
Joined: 2023-06-28, 22:43
Location: Australia

Re: Performance

Unread post by suzyne » 2023-12-20, 04:11

mksh21 wrote:
2023-12-19, 23:50
So in other words, not much really can be done on anyones side apart from the website devs?
That's my experience. Visit any browser JavaScript benchmark and compare the results of Pale Moon with a big name browser on the same test, and the results will confirm your experience that Pale Moon is the tortoise when it comes to many sites that rely on a lot of code. The poor performance goes beyond loading times, and continues once such a site is fully loaded.

I don't think there is any real solution for a whole class of sites (where scripts are essential) that are sluggish, but that is the price I pay for loving and using Pale Moon.

(And I am not going to say you shouldn't visit such sites, because they are bad or something.)
Laptop 1: Windows 10 64-bit, i7 @ 2.80GHz, 16GB, NVIDIA GeForce MX450.
Laptop 2: Windows 10 32-bit, Atom Z3735F @ 1.33GHz, 2GB, Intel HD Graphics.

User avatar
mksh21
Newbie
Newbie
Posts: 5
Joined: 2023-12-19, 22:29

Re: Performance

Unread post by mksh21 » 2023-12-20, 14:27

I have tried using hardware acceleration on and off (and restarting the browser when changing the setting) it made 0 difference for me.

User avatar
Al6bus
Lunatic
Lunatic
Posts: 288
Joined: 2015-08-24, 14:55
Location: Lemberg

Re: Performance

Unread post by Al6bus » 2023-12-20, 18:32

There is no need to use external 3060 for web browsing
Try switch to integrated one
Also update these integrated drivers
https://www.amd.com/en/support/apu/amd- ... en-5-5600h
and finaly u have modern hw @ so use avx2 build
ftp://ftp2.palemoon.org/avx/
Windows 7 Pro x64 - Pale Moon x64
We hope for multiprocessing

User avatar
suzyne
Lunatic
Lunatic
Posts: 364
Joined: 2023-06-28, 22:43
Location: Australia

Re: Performance

Unread post by suzyne » 2023-12-20, 21:28

mksh21 wrote:
2023-12-20, 14:27
I have tried using hardware acceleration on and off
That is my experience too.

Speedometer 2.0 describes itself as:
Speedometer is a browser benchmark that measures the responsiveness of Web applications. It uses demo web applications to simulate user actions such as adding to-do items.
which is one way to execute a lot of JavaScript and see the results.

https://browserbench.org/Speedometer2.0/

For both Pale Moon and Edge, this test was done with an empty new profile with no plugins, themes or extensions. I used the AVX2 version of Pale Moon because that is what I normally use.

Hardware acceleration was enabled in both cases. Out of curiosity, I then made another empty new profile for Pale Moon and turned off the HWA and repeated the test, and the results were so similar (slightly slower) there is no reason to post the pic of the speedo.

My conclusion is that for the class of website that uses massive amounts of code like a web app, there is little point in experimenting with builds or hardware settings because Pale Moon is simply appreciably slower. So anybody coming from a big name browser will immediately notice the difference and if they use such sites, advice that will actually alleviate the difference doesn't exist.

Image

Image
Laptop 1: Windows 10 64-bit, i7 @ 2.80GHz, 16GB, NVIDIA GeForce MX450.
Laptop 2: Windows 10 32-bit, Atom Z3735F @ 1.33GHz, 2GB, Intel HD Graphics.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35651
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: Performance

Unread post by Moonchild » 2023-12-20, 22:31

"SpeeDOMeter" is a very, very narrow window on website performance. It has no variation in the content rendered, just runs the exact same bare-bones to-do list thing through various frameworks (including measuring debug versions of such frameworks which is totally stupid!). As far as benchmarks go it really is an extremely poor example, and I don't understand why people continue to put value on the results of it. It says more about the innate slowness of the frameworks used (and their often overzealous polyfilling) than performance of any browser.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
back2themoon
Moon Magic practitioner
Moon Magic practitioner
Posts: 2411
Joined: 2012-08-19, 20:32

Re: Performance

Unread post by back2themoon » 2023-12-20, 22:44

Both Adguard AdBlocker and uBO? You seem to have several conflicting extensions, even if some are disabled. I'd start over with a fresh profile, only installing what is truly required.

Decentraleyes is abandoned I believe. Last Pale Moon update was two years ago. I guess someone could ask for an update. There was indeed a response, back when that version was released.

I don't have performance issues with a 16-year old CPU and less than half that RAM. Yes, if I open YouTube (and a few others) things will get slow. I avoid these and open them with FF when needed (using the Open With extension).

User avatar
suzyne
Lunatic
Lunatic
Posts: 364
Joined: 2023-06-28, 22:43
Location: Australia

Re: Performance

Unread post by suzyne » 2023-12-20, 23:21

Moonchild wrote:
2023-12-20, 22:31
"SpeeDOMeter" is a very, very narrow window on website performance. It has no variation in the content rendered, just runs the exact same bare-bones to-do list thing through various frameworks (including measuring debug versions of such frameworks which is totally stupid!). As far as benchmarks go it really is an extremely poor example, and I don't understand why people continue to put value on the results of it. It says more about the innate slowness of the frameworks used (and their often overzealous polyfilling) than performance of any browser.
Benchmarks can be problematic!

But I posted those results because they reflect my real life experience. When I use web app like sites such as Photopea, Outlook, Discord or Instagram they feel like they are around 4 to 5 times slower, (and that is not about page loading, but time taken to do stuff) so what this particular benchmark shows doesn't surprise me at all and rings true.

Is there is another benchmark that gives a fairer or less narrow indication of JavaScript performance?

I am happy to go through the same process with a different measurement and see what the results are.
Laptop 1: Windows 10 64-bit, i7 @ 2.80GHz, 16GB, NVIDIA GeForce MX450.
Laptop 2: Windows 10 32-bit, Atom Z3735F @ 1.33GHz, 2GB, Intel HD Graphics.

User avatar
athenian200
Contributing developer
Contributing developer
Posts: 1537
Joined: 2018-10-28, 19:56
Location: Georgia

Re: Performance

Unread post by athenian200 » 2023-12-21, 03:40

suzyne wrote:
2023-12-20, 21:28
https://browserbench.org/Speedometer2.0/
For both Pale Moon and Edge, this test was done with an empty new profile with no plugins, themes or extensions. I used the AVX2 version of Pale Moon because that is what I normally use.
To be honest, Pale Moon is not as optimized for speed as Chromium. Chromium-based browsers have sacrificed user freedom and extensibility for the sake of rendering speed. We have a browser that is very extensible and works pretty well, but is somewhat slower and sometimes takes longer to implement the latest web standards. Back in the day, Firefox was criticized for being much slower than Chromium. We're still building on that "slow core" Firefox was criticized for in a lot of ways... we've improved it a lot, but not nearly as fast as Firefox and Chromium have improved theirs. Plus, a lot of the choices they made to make their browsers faster are precisely the things we don't want. The Rust-based CSS parser rewrite, e10s, and the removal of extensions. Getting rid of XUL and adopting a rewritten CSS parser did speed things up.

But yeah, Pale Moon is never going to beat mainstream browsers on speed. Maybe on privacy and extensibility, but speed is not really an arena we compete seriously in, especially not with modern websites. Pale Moon is definitely better at rendering certain older websites that modern browsers choke on, though. Especially text-heavy sites with thousands of lines, like the kind used to read programming code through xref or Mercurial. Our parser is great at that... it's just not great for modern web frameworks. 

At the end of the day, Pale Moon is just one tool in the toolbox. If what you need is Widevine DRM, WebRTC, a fast browsing experience, and everything you need built in... Pale Moon probably isn't what you're looking for. But if you need Adobe Flash Player, FTP access, XUL extensions, maybe you don't trust Google Safe Browsing, or you're worried about privacy issues with WebRTC... well, that's when you come to us.

In our defense, though, I tried your website and found even modern Firefox is much slower than Edge, and actually comes in somewhere between Edge and Pale Moon. Though in my testing, Edge and Firefox scored a bit lower... 103 for Edge, 78.3 for Firefox, and 29.8 for Pale Moon. That is, yes they're faster in this test, but not by the margins you're seeing? I tried running on another computer, and Pale Moon got 45.7. So a lot of this seems to be hardware dependent, and Pale Moon seems to benefit from raw clock speed and IPC a lot more than it benefits from multiple cores. That's somewhat okay on desktop, but I can imagine it being an issue if someone is on a laptop or something.

So that's another important point to consider... that Firefox-based browsers are inherently slower than Chromium-based ones to this day, and we've had to eschew a number of potential speed-ups Mozilla has gotten because we had various concerns about privacy or extension compatibility, so we're naturally going to be behind them on benchmarks like this.

So, sure, I would concede that when it comes to modern websites that use a ton of frameworks optimized for Chromium, Firefox is slower than Edge, and that Pale Moon is in turn slower than Firefox. But I would also contend that anyone who downloads Pale Moon expecting it to render modern websites as fast as Chromium has unreasonable expectations given our codebase and our goals. Even modern Firefox can't do that, and they've given up far more in the quest for speed than we were willing to.

An analogy I like to use is this... Pale Moon is built like a tank. It won't get you where you want to go as fast, but you have a lot of options to deal with whatever your surroundings are. Edge is more like a luxury sports car... it goes very fast and has a lot of modern conveniences, but it's very easy to get a ticket for speeding or find yourself in trouble when trying to drive on old gravel roads. Firefox is like an old minivan... it's practical and better at dealing with situations a sports car couldn't handle, but not as powerful or extensible as the tank, and not as fast or convenient as the sports car. I don't know if that makes sense to anyone else, but that's how I see it in my head.
"The Athenians, however, represent the unity of these opposites; in them, mind or spirit has emerged from the Theban subjectivity without losing itself in the Spartan objectivity of ethical life. With the Athenians, the rights of the State and of the individual found as perfect a union as was possible at all at the level of the Greek spirit." -- Hegel's philosophy of Mind

User avatar
CrimsonAkiha
Hobby Astronomer
Hobby Astronomer
Posts: 17
Joined: 2023-09-10, 15:10

Re: Performance

Unread post by CrimsonAkiha » 2023-12-21, 11:19

Another consequence of Pale Moon's extensibility and user freedom is that it's much easier to "break" it, especially with extensions. Not that I think any of that is a bad thing (how are we to learn without our mistakes?), but people do need to be more careful about how they set things up and which extensions they pick, instead of just installing whatever sounds good. I spent a while testing various extensions I used through about:performance and some layout benchmarks, and aside from all of OP's conflicting extensions, I've noticed he's using CanvasBlocker Legacy, which is one of the ones I found makes Pale Moon orders of magnitude slower no matter what hardware you use.

This workaround maybe isn't as powerful, but I settled for just uninstalling that extension and flipping "canvas.poisondata" to "true" in about:config instead. Frankly, the rest of that list of extensions doesn't look so great either, so maybe the best course of action is to go through the same tests I did to figure out which extensions were causing problems. Or start fresh/remove everything and only install what you know you need.
Off-topic:
FWIW, even if Pale Moon can't handle modern sites as well as the big name browsers, it certainly compiles faster than all of them (even on old hardware!). If you like patching the code yourself/customizing build options/etc, it's perfect. And it's even better if you use a source-based system like Gentoo GNU/Linux or so, which allows you to do all of that system-wide. (I know some people just use that system to compile programs with experimental optimizations, but that's not really the point and not what I use it for, I just like being able to actually fix bugs when I have a problem and remove things that annoy me, distract me, or otherwise make the computer difficult for me to use. No other combination of operating system and browser would exactly let me do that, and I didn't really care about modern sites as much as most people anyway.)

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35651
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: Performance

Unread post by Moonchild » 2023-12-21, 11:24

athenian200 wrote:
2023-12-21, 03:40
An analogy I like to use is this... Pale Moon is built like a tank. It won't get you where you want to go as fast, but you have a lot of options to deal with whatever your surroundings are. Edge is more like a luxury sports car... it goes very fast and has a lot of modern conveniences, but it's very easy to get a ticket for speeding or find yourself in trouble when trying to drive on old gravel roads. Firefox is like an old minivan... it's practical and better at dealing with situations a sports car couldn't handle, but not as powerful or extensible as the tank, and not as fast or convenient as the sports car. I don't know if that makes sense to anyone else, but that's how I see it in my head.
I like that analogy although I would not say a "tank" but rather an APV (armoured personnel vehicle) or an all-terrain jeep (think halo "warthog?") that would do relatively poorly on a highway but does fine otherwise ;)
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
back2themoon
Moon Magic practitioner
Moon Magic practitioner
Posts: 2411
Joined: 2012-08-19, 20:32

Re: Performance

Unread post by back2themoon » 2023-12-21, 13:50

I remember talk about future plans (might have been Tobin) to improve multi-core performance?

(not to be confused with multi-process)

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35651
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: Performance

Unread post by Moonchild » 2023-12-21, 16:35

Wasn't tobin, but we can't do that kind of work when we're playing catch-up all the time to the moving target of Chrome piling more and more onto web standards. it's simply lower priority
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite