martok / palefill

Inject Polyfills for various web technologies into pages requiring them
https://martok.github.io/palefill/
Mozilla Public License 2.0
79 stars 9 forks source link

github ??? #97

Open AroKol78 opened 6 months ago

AroKol78 commented 6 months ago

Serpent52(20240105025008) + palefill1.27 Recently GH has messed up and the site has significantly slowed down which is beyond my tolerance for browsing. I managed to capture the slowdown during which it displays strange things. There would be a way around this?

Screenshot_1 `https://github.com/uBlockOrigin/uAssets/commits/master/` ![ghbug0001](https://github.com/martok/palefill/assets/70756447/66e059cc-0074-4ab5-9b41-34dc6699e47b)
Screenshot_2 `https://github.com/uBlockOrigin/uAssets` ![ghbug0002](https://github.com/martok/palefill/assets/70756447/5b053c1e-5072-46f7-b18d-617c6b625c10)
RamonUnch commented 6 months ago

You may try to disable palefill on github, it is no longer required, However I am not sure anything can be done, even when disabling palefill GitHub is very slow for me as well and I have to restart the browser frequently, because of memory leaks.

If you disable palefill you may need to manually set dom.enable_performance_observer;true in about:config.

martok commented 6 months ago

Fascinating, the rendering glitch while loading aside, the new (React, I believe) version is significantly faster for me.

Edit, just to be clear: I'm not saying it is anywhere as fast as it was when they actually served HTML instead of constructing the view from 4 Megabytes of JS. But faster then, let's say, last summer.

and I have to restart the browser frequently, because of memory leaks.

That, on the other hand, has always been the case for me with Palemoon. Once the allocated memory exceeds ~1.5 GB, I just have to restart it. If I don't, at about 2G GC times just make it unresponsive.

Vangelis66 commented 6 months ago

If you disable palefill, you may need to manually set dom.enable_performance_observer;true in about:config.

... Unlike official Pale Moon (and NM28), official Basilisk as well as Serpent 52 (OP's case) now have that pref default to true (i.e., there's no need to mess with it anymore in said browsers) 😉 ...

jrfnl commented 6 months ago

I've been seeing the same rendering artifacts for quite a while now and find that the page loading is excruciatingly slow for things like the Milestone/Label dropdowns in issues/PRs.

As for the restarting, I do need to do this regularly as well, but generally only once it reached > 5G memory used. Might this be dependent on the total available memory ? (I have 64G available total).

martok commented 6 months ago

As for the restarting, I do need to do this regularly as well, but generally only once it reached > 5G memory used. Might this be dependent on the total available memory ? (I have 64G available total).

Huh, that's odd. 16GB total here, so 1/4. 5G/4 = 1.2G, thats awefully close for a coincidence. OTOH, my 8 GB laptop is still fine at 1GB for PM. The configurable thresholds are all absolute values, but maybe something internal isn't...

AroKol78 commented 4 months ago

it started pouring out errors

Error: SyntaxError: ':modal' is not a valid selector
Source File: https://github.githubassets.com/assets/vendors-node_modules_oddbird_popover-polyfill_dist_popover_js-7bd350d761f4.js
Line: 1

and

Warning: Ignoring unsupported entryTypes: event.
Source File: https://github.githubassets.com/assets/behaviors-91d3668ba8db.js
Line: 33