I'm seeing a lot of people saying gmail and youtube are slow in Firefox. This may not sound like a good answer, but consider using a dedicated video player such as mpv for youtube, and an email client instead of webmail.
Web browsers are some of the worst-performing software we have today. Asking them to do more than display documents and web pages never seems to go well.
Web browsers are some of the worst-performing software we have today. Asking them to do more than display documents and web pages never seems to go well.