4 ms·
On my machine, Firefox got 12.3, and Edge (Chromium) got 12.8. I don't believe that the performance characteristics of these two are that close unless I'm missi
by sedatk 3y ago
On my machine, Firefox got 12.3, and Edge (Chromium) got 12.8. I don't believe that the performance characteristics of these two are that close unless I'm missing something. For example, audio players on Edge stutter a lot while Firefox plays them smoothly. An example is: https://deepsid.chordian.net/ https://deepsid.chordian.net/ I believe Edge is slower not because Chromium is slow, but because of Microsoft's overreaching efforts on energy conservation.
Machine: AMD 5950X, 32GB RAM, 3080 GPU, Windows 11 Pro 23H2
Firefox v123.0.1
Edge v122.0.2365.80
EDIT: Interesting, I tried both in private windows later to bypass extensions, and Edge got 10.8 this time, Firefox got 16.9. I now have more questions.
- rezonant 3y agoI ran v3 on my machine while listening to "Voyage" by "Yahel & Eyal Barkan" in Chrome and doing a bunch of background stuff. The background stuff took up about 20% of my CPU. While testing, the music played perfectly without any buffer underrun pops. Ran it in each browser one at a time while the music played in Chrome. Chrome 122.0.6261.112: 21.3 +/- 0.64 Edge 122.0.2365.80: 20.1 +/- 0.78 Firefox 121.0.1: 18.5 +/- 0.75 Machine specs: Intel Core i9 12900k (24 core) / 64GB RAM / 3080Ti / Windows 11 Pro 23H2 After finishing the tests, I played that same song on Firefox and Edge. Both Firefox and Edge played it perfectly. > audio players on Edge stutter a lot while Firefox plays them smoothly I'm curious about what could be leading to this inconsistency as I use Web Audio for a number of projects, so I have a bit of a vested interest. It is notoriously easy to do WebAudio wrong or to do just a bit too much computation which leads to buffer underruns (pops). It also may have a lot to do with specific tracks on DeepSID, could you share some tracks that perform inconsistently for you?
- sedatk 3y agoAny track plays completely garbage on Edge. The beat skips, the sound cuts off. This one for instance: https://deepsid.chordian.net/?file=/MUSICIANS/F/Fate/World_Record_1.sid https://deepsid.chordian.net/?file=/MUSICIANS/F/Fate/World_R... I think Edge's problems come from some kind of power efficiency setting, not necessarily performance-related. (Like a low-granularity JS timer, or something like that) EDIT: Turning off all efficiency settings on Edge didn't make any difference: 11.0
- mdasen 3y agoAudio wouldn't be going via the DOM or JS, right? I know that Firefox has its own codec support and that Safari on Mac uses different AV stuff than other browsers. I don't think that AV stuff would be tested by Speedometer.
- rezonant 3y ago> don't think that AV stuff would be tested by Speedometer It probably isn't, but fwiw yes web audio is controlled by JavaScript. Doing it right means using web audio worklets, which is a special purpose JS context that has no access to your main page context.
- sedatk 3y agoIt's more than channeling audio files to browser's codecs though. A SID player for example runs a 6502 CPU emulator and a SID chip emulator on the browser using JS. So, it's problematic in such scenarios. Otherwise, I can watch Youtube videos, or listen to Internet radios without issues.
- deleted 3y ago[deleted]
- sedatk 3y agoOther interesting notes: - Firefox on WSL2 on the same machine gets 10.1 despite that the rendering must be horribly slow since it goes through Remote Desktop layer. - Firefox gets a 25% speed boost when I disable 1Password extension. Disabling it on Edge makes no difference.