m-khvoinitsky/dark-background-light-text-extension

Good websites or software to test speeds of different dark mode methods?

Opened this issue · 3 comments

Are there any good ways to test the performance impact of the different dark mode methods provided by this extension (and other extensions)?

Yes, I could write something to do it, but I'm hoping someone has already done that.

Obviously, some pages will be impacted more than others, due to their complexity. But a "close enough" average or approximate is all I want.

Also, is the "Simple CSS" method designed to typically be faster than "Stylesheet processor"?

Is https://webbrowsertools.com/darkmode/ helpful? It's about all I could find.

Are there any good ways to test the performance impact of the different dark mode methods provided by this extension (and other extensions)?

I'm not aware of any.

Also, is the "Simple CSS" method designed to typically be faster than "Stylesheet processor"?

Simple CSS is the fastest for sure, because it's just CSS, pretty small and without filters. So, it is injected in the very beginning of page load and after that its performance impact almost invisible and does not depend on page complexity. Invert, while being also (almost) pure-CSS solution, uses filter so it impacts performance on every page redraws which especially noticeable on scrolling (on some hardware) and video playback. Stylesheet processor is sort of advanced Javascript solution which, of course, impacts performance depending on the compexity of the page.

Is https://webbrowsertools.com/darkmode/ helpful? It's about all I could find.

Good tool, but it's not about performance (speed) but about the quality.