What are the correct settings to aggressively throttle background tabs in Firefox?
Years ago I stumbled on this post explaining various
about:config settings in firefox for throttling background (and foreground) tabs, but I could never make sense of their meaning. It is unclear, for example, what the units of each of these options are (seconds, milliseconds?) and whether or not increasing the value will throttle tabs more or throttle them less.
dom.min_background_timeout_value dom.timeout.background_budget_regeneration_rate dom.timeout.background_throttling_max_budget dom.timeout.budget_throttling_max_delay dom.timeout.foreground_budget_regeneration_rate dom.timeout.foreground_throttling_max_budget dom.timeout.throttling_delay
Specifically, let's take a super-aggressive throttling policy: I want to make it so background tabs are granted only 1ms of execution time every 30 minutes. I want this policy to go into effect 1ms after the tab is no longer in the forground. That is to say, tabs should never exceed 0.00% CPU usage for a period of 30 minutes after I leave a tab in the background.
What should the values for these firefox settings be to achieve this aggressive throttling behaviour?