Google polyfill badly done JS because firefox doesn't implement some "advanced" features that google tought but is not(or will never be) in the standard.
It result in more usage of CPU and RAM.
I noticed that Facebook have a memory leak on firefox for exemple (12Go, then 3Go after closing facebook).