To optimize Firefox, make sure that you’re not having dozens of tabs open. Also, disable or remove any extensions that you don’t use actively.