Does not describe Youtube.com or VSCode in my experience.
VSCode was more laggy than native competitors on my machine. Especially when selecting text. Maybe our tolerance for lag is different? I know a ton of people swear by VSCode, but when an app has bad latency on basic interface functions it just throws me off. People with higher lag/latency tolerance may be right, that it's worth the trade-off to get an otherwise better app. But I will always go for non-lag native apps.
This is interesting because when I measured that a couple years ago it was one of the fastest options, right up with the native apps. I wonder whether there’s something like display scaling or an extension responsible for the difference.
VSCode has become really fast in the last year or so. Previously, I sometimes used other text editors for a quick edit, but now any lag that VSCode may still have has fallen below my personal sensory threshold.
I dread the situations where I have to resort to Xcode. It's native, but it's unbelievably slow and crashes more often than any software I have used since Windows 3.1.
For MacOS, you can almost always get high quality native apps. I don't know why this isn't the case on other platforms.
Strangely enough, it is mostly the mega-corps that insist on not making native apps, even though they should have all resources for it: VSCode, Spotify, YouTube, WhatsApp. Through and through laggy garbage apps if you don't have the latest machine.