Bug 248602

Summary: Slow performance than other browsers in IE Test Drive PopCorn Benchmark
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: ap, cdumez, eric.carlson, jer.noble, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   

Description Ahmad Saleem 2022-12-01 07:22:59 PST
Hi Team,

While just doing bit synthetic benchmark testings, I came across following:

Benchmark - https://testdrive-archive.azurewebsites.net/Performance/Popcorn/Default.html

Safari 16.1 (stutters visually and audio as well) - 8.11 seconds
Safari Technology Preview 159 (stutters visually and audio as well) - 7.17 seconds (6.66 in Private Mode) [I do have AdGuard installed]
Chrome Canary 110 - 1.79 seconds (no stutter)
Firefox Nightly 109 - 1.33 seconds (no stutter).

___

MacBook Pro 14 inch - M1 Pro - 16 GB - Baseline

___

I think we should investigate both audio stutter and slow performance as well.

Thanks!
Comment 1 Ahmad Saleem 2022-12-01 07:31:13 PST
NOTE - I selected "large" popcorn size.
Comment 2 Alexey Proskuryakov 2022-12-01 09:04:35 PST
I cannot reproduce that much of a difference with newer macOS/Safari on an Intel MacBook Pro, FWIW: Safari was 3.5 seconds, and Chrome was 2.5 seconds.

Looks like most time is spent in PlatformMediaSessionManager::maybeActivateAudioSession().
Comment 3 Alexey Proskuryakov 2022-12-01 09:07:38 PST
That was with default (medium) size. With large, I'm getting 9 seconds in Safari, and 3.5 in Chrome.
Comment 4 Radar WebKit Bug Importer 2022-12-01 13:25:04 PST
<rdar://problem/102874433>