Higher CPU usage in Orion than in Safari
- Edited
Ahmed Ok I played a video on youtube in both Orion and Safari at the same time
And this is what I get
- Safari uses more energy
- VTDecoderXPCService uses 0.0 CPU in Orion
which seems to confirm what @gp said here
https://orionfeedback.org/d/1084-higher-cpu-usage-in-orion-than-in-safari/8
So not dismissing your finding, but this is why "steps to reproduce" are important. It could be a specific system/system settings/browser setting/website setting/way you measure that you are using that is causing this.
I can't reproduce Safari and Orion using different codecs. You can check easily what is being used by right clicking the video area and choosing "stats for nerds", so there's no need to guess
Take note of the Current/Optimal resolution, and the Codecs line (the numbers in brackets are the important ones to compare). The codec string tells you the codec being used (i.e. VP09 = VP9 codec, AV01 = AV1 codec).
You should expect to see identical ones on both Safari and Orion.
I believe you mentioned concerns about loginwindow using 10% CPU - something does sound untoward on your system. Do you have any kind of system/utility apps installed or running that might be meddling with things? I assume you've rebooted the computer?
The video embedded in this Reddit post consumes around 58% CPU in Orion and around 30% in current Brave Browser in just the render process
- Edited
b3noit These things are nuanced. Try to submit reproducible evidence. Have you checked something else is causing it? Extensions? Settings?
I have now opened the video in Orion and Brave. Note that Orion is up for a few days with dozen of tabs open. Brave was just started playing video in one tab.
Orion is still consuming less energy than Brave playing that same video.
- Edited
For what it's worth, my findings also align with the original poster – Orion uses more resources.
System: M1 MBP, 16GM Ram, Monterey.
Safari 15.3
Orion 0.99-113 beta
Steps to reproduce:
- Open Safari and Orion in split screen (with each occupying exactly 50% of screen space). Only 1 tab each.
- Disable all extensions
- Replicate application settings e.g. content blocking, css rules etc.
- Load this video URL:
- Play both at the same time. (Naturally when clicking from one app to the other there is lag, so pause the lead video and resume playback when the other video catches up. Now they're in complete sync.)
- Take screenshot of activity monitor at several times of the video.
- Compare resource usage activity monitor (using processes identifiably belonging to each app. See images. Blue = Safari. Green = Orion.)
Repeat test case steps 4-6 above several times to ensure consistency of results.
Total CPU process usage (%):
Test results:
[Safari 13.4] [Orion 14.0]
[Safari 14.6] [Orion 21.9]
[Safari 13.1] [Orion 14.4]
[Safari 11.8] [Orion 12.9]
[Safari 13.2] [Orion 13.7]
[Safari 12.3] [Orion 13.7]
[Safari 11.7] [Orion 14.1]
[Safari 12.2] [Orion 13.2]
[Safari 13.6] [Orion 13.9]
Result: Orion used more CPU 100% of the time.
Screenshots:
Side-by-Side
https://ibb.co/4NgvxS8
Activity Monitor
https://ibb.co/StkfN68
https://ibb.co/VV8hWvr
https://ibb.co/yW2vp3D
https://ibb.co/vZP1mjZ
https://ibb.co/bdT6hDd
https://ibb.co/PQdvhSD
I noticed a high usage of CPU too. I have a Macbook air 2020 (M1) temperature goes over 90Âş with just 2 youtube tabs opened. Love this browser but I'll have to stay with Safari for now.
EdgardMello Thank you for noticing that. Do you have steps to reproduce this in a way that in Safari under same circumstances, load is substaintially lower?
Vlad I'll try to make some screenshots or video.
Here's a video that I think might help you visualize what I was saying.
@Vlad I updated to MacOS Ventura and Orion is performing very good. The CPU usage is below Safari now.
Using Orion Version 0.99.119-beta (WebKit 615.1.1) and MacOS Ventura Version 13.0 Beta (22A5331f)
EdgardMello So, no issue then?
- Edited
I've experienced same issue, CPU usage is very high when watch video on YouTube.
I open only 1 tab on both Safari and Orion and watch the same video. (I try one after another, not concurrent)
Note that I've experienced this on every video.
cc: @Vlad
Orion: Version 0.99.121-beta (WebKit 614.1.20)
macOS: 13.0 (22A380)
Orion
Safari
SukinoVerse Please show a video of safari and orion in the same cofniguration (preferable clean install, no extensions) running the same video side by side with activity monitor.
Vlad Sure!
I just clean install Orion when 0.99.121 is release some days ago, so it thinks it very clean except LanguageTool and Bitwarden extensions.
I try Orion with Compatability Mode
which mean all extension turned off, is that okay?
For Safari, I leave it as always with all extension enabled.
Here is the screen recording
https://mega.nz/file/luQHnD7Z#TPhVkjuMghLI6iqIrKNzsVKEQKh4Kx7K5-BABpsahzc
You'll see at the end, although I didn't resume video playback on YouTube, but CPU usage is still spiked.
Noted: I forgot to mention on comment that I'm using MacBook Air M1
While simple tasks like watching YouTube video at 480p macbook air 2019 gets hot and fan noise happens. This happens with Firefox too but Google Chome is fine. The room temperature is cold tho.