Bug 822096, make sure to not favor perf mode too long, r=roc

--HG--
extra : rebase_source : 79ae8ff0f2ad0b4d5ce07895efdcc316e0264fc4