Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Перейти к файлу
Andreas Farre 132ec026c3 Bug 1362322 - Throttle background timeouts using budget. r=bkelly
Deduct timeout execution time from a continuously regenerating
execution budget. Then throttle timeouts by using that budget in
TimeoutManager::MinSchedulingDelay to adjust the minimum value if
the budget is negative. The minimum value is adjusted to be a
value where the budget would have regenerated to be +0 ms.

The execution budget is clamped by values in ms defined in prefs:

* dom.timeout.background_throttling_max_budget: 50
* dom.timeout.foreground_throttling_max_budget: -1

A value equal or less than 0 means that the budget is infinite.

The regeneration rate can be controlled by the following prefs:

* dom.timeout.background_budget_regeneration_rate
* dom.timeout.foreground_budget_regeneration_rate

one each for foreground and background throttling.

To not starve timeouts indefinitely we clamp the minimum delay using
the pref:

* dom.timeout.budget_throttling_max_delay: 15000

The feature is behind the pref:

* dom.timeout.enable_budget_timer_throttling
2017-07-02 18:02:38 +02:00
.cargo Bug 1277338 - Part 1: Turn js/src into the mozjs-sys crate; r=sfink 2016-10-13 16:12:42 -07:00
.vscode Add some task definitions to run mach from VSCode (bug 1323308). r=gps 2017-05-04 18:03:54 +03:00
accessible Bug 1377195: Remove redundant main thread activation context from a11y::PlatformChild; r=eeejay 2017-06-29 10:47:15 -07:00
addon-sdk Bug 1374282 - script generated patch to remove Task.jsm calls, r=Mossop. 2017-06-22 12:51:42 +02:00
browser Merge m-i to m-c, a=merge 2017-07-01 17:36:09 -07:00
build Backed out changeset f8a62747c51c (bug 1338651) for valgrind issues a=backout 2017-06-30 14:45:26 -07:00
caps Bug 1368456 - remove Promise.jsm imports in tests, r=mconley. 2017-06-23 11:25:52 +02:00
chrome Bug 1319111 - Expose 'result principal URI' on LoadInfo as a source for NS_GetFinalChannelURI (removes some use of LOAD_REPLACE flag). r=bz, r=mikedeboer 2017-05-30 18:07:59 +02:00
config Bug 1377157 - remove VCINSTALLDIR from cargo's environment when running in MozillaBuild; r=ted.mielczarek 2017-06-29 13:41:57 -04:00
db Bug 1371364 - Upgrade to SQLite 3.19.3. r=mak 2017-06-08 15:23:34 -04:00
devtools merge mozilla-inbound to mozilla-central a=merge 2017-06-30 12:59:45 +02:00
docshell Bug 1376592 - rewrite test_triggeringprincipal_window_open.html. r=ckerschb 2017-06-30 11:06:17 -07:00
dom Bug 1362322 - Throttle background timeouts using budget. r=bkelly 2017-07-02 18:02:38 +02:00
editor merge mozilla-inbound to mozilla-central a=merge 2017-06-29 15:47:04 +02:00
embedding Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
extensions Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
gfx Merge m-i to m-c, a=merge 2017-07-01 17:36:09 -07:00
gradle/wrapper Bug 1300094 - Update Gradle to 2.14.1 and Gradle Plugin to 2.1.3 r=sebastian 2016-09-22 14:31:01 -07:00
hal Bug 1366356 - Decrease the process priority of content processes that are not running a foreground tab - part 2 - enabled if the platform specific code is ready, r=smaug 2017-06-07 09:59:00 +02:00
image merge mozilla-inbound to mozilla-central a=merge 2017-06-30 12:59:45 +02:00
intl Bug 1376834 - Update data tables to Unicode 10.0 release. r=m_kato 2017-06-30 14:16:02 -07:00
ipc merge mozilla-inbound to mozilla-central a=merge 2017-06-29 15:47:04 +02:00
js Merge m-i to m-c, a=merge 2017-07-01 17:36:09 -07:00
layout Merge m-i to m-c, a=merge 2017-07-01 17:36:09 -07:00
media merge mozilla-inbound to mozilla-central a=merge 2017-06-30 12:59:45 +02:00
memory Bug 1376057 - Replace MSVC wrappers with std::exception::_Set_raise_handler. - r=froydnj 2017-06-27 11:51:34 -07:00
mfbt Backed out changeset 07e0c4e4ae85 (bug 1373256) for breaking android tests 2017-06-28 14:47:55 +02:00
mobile Merge m-i to m-c, a=merge 2017-07-01 17:36:09 -07:00
modules Bug 1362322 - Throttle background timeouts using budget. r=bkelly 2017-07-02 18:02:38 +02:00
mozglue Bug 1318247 - [1.0] Add custom refcounting of zips in ZipCollection to allow for thread-safe reuse of zips. r=glandium 2017-06-30 10:47:29 -07:00
netwerk Bug 1377215 - Add WebSocketEventService::Get. r=mcmanus 2017-07-02 18:02:37 +02:00
nsprpub Bug 1372579, uplift NSPR_4_16_BETA1, r=me 2017-06-23 15:52:30 +02:00
other-licenses Bug 1374697 - Add ATK support for aria-details and aria-errormessage. r=surkov 2017-06-21 15:53:00 -04:00
parser merge mozilla-inbound to mozilla-central a=merge 2017-06-28 13:23:29 +02:00
probes Bug 1344878 - add BUG_COMPONENT to probes/* files. r=Ms2ger 2017-03-24 09:50:48 -04:00
python Bug 1376392 - do a more thorough check for git checkouts of mozilla-central in bootstrap; r=rillian 2017-06-29 19:26:23 -04:00
rdf Backed out changeset 7235d05662b0 (bug 1373984) for Android bustage. r=backout on a CLOSED TREE 2017-06-25 18:30:13 +02:00
security Merge autoland to m-c, a=merge 2017-07-01 17:34:20 -07:00
services Merge m-i to m-c, a=merge 2017-07-01 17:36:09 -07:00
servo servo: Merge #17558 - Derive Eq and PartialEq for CustomPropertiesMap (from ferjm:custompropmap.eq); r=emilio 2017-06-28 22:01:17 -07:00
startupcache Bug 1375392 - Tweak the PROFILER_LABEL* macros. r=mstange. 2017-06-22 17:08:53 +10:00
storage Bug 1376202 - Release sharedDBMutex prior to post-auto-finalizing sqlite3_close(). r=asuth 2017-06-29 15:59:02 -07:00
taskcluster Backed out changeset f8a62747c51c (bug 1338651) for valgrind issues a=backout 2017-06-30 14:45:26 -07:00
testing Merge m-i to m-c, a=merge 2017-07-01 17:36:09 -07:00
third_party Bug 1376411 - Update libc to 0.2.24 to get support for more Tier3 platforms. r=rillian 2017-06-29 13:09:29 +00:00
toolkit Merge m-i to m-c, a=merge 2017-07-01 17:36:09 -07:00
tools merge mozilla-inbound to mozilla-central a=merge 2017-06-29 15:47:04 +02:00
uriloader Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
view Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
widget Merge m-i to m-c, a=merge 2017-07-01 17:36:09 -07:00
xpcom Merge m-i to m-c, a=merge 2017-07-01 17:36:09 -07:00
xpfe Bug 1376491 - Use Lookup instead of Get+Remove to avoid unnecessary hashtable lookups. r=froydnj 2017-06-28 01:03:17 +02:00
.clang-format Bug 1322321 - Update the clang format file to match more our coding style r=ehsan 2016-12-06 17:43:17 -10:00
.clang-format-ignore Bug 1376488 - Remove some old paths from ThirdPartyPaths.txt. r=sylvestre, r=andi 2017-06-27 10:49:00 -04:00
.clang-tidy Bug 1319396 - Update the list of checkers in the .clang-tidy file r=Ehsan 2016-11-22 12:30:19 +01:00
.cron.yml Bug 1374422 - Enable OSX Cross Compiled Nightlies. r=kmoir 2017-06-21 12:49:05 -04:00
.eslintignore Bug 1331937 - Extend session restore Talos test with many windows. r=mikedeboer,jmaher 2017-06-28 09:42:34 +07:00
.eslintrc.js Bug 1359011 - Make the mozilla/recommended eslint configuration the default for the whole tree. r=mossop 2017-04-25 20:12:21 +01:00
.flake8 Bug 1288432 - Use new mozlint configuration for flake8 linter, r=bc 2017-06-02 09:46:01 -04:00
.gdbinit Bug 1317802 - don't stop for SIGSYS in .gdbinit; r=jld 2016-11-16 01:13:22 -05:00
.gdbinit_python Bug 1346025 - Move vendored python modules from /python to /third_party/python, r=ted 2017-05-25 11:48:03 -04:00
.gitignore Bug 1367041 - Add |mach wpt| support for Chrome, Edge and Servo, r=AutomatedTester 2017-05-31 15:45:47 +01:00
.hgignore Bug 1364410 - Fix quantum-pageload test so it runs locally on windows via mach; r=jmaher 2017-06-05 14:51:06 -04:00
.hgtags No bug - Tagging mozilla-central f9605772a0c9098ed1bcaa98089b2c944ed69e9b with FIREFOX_BETA_55_BASE a=release DONTBUILD CLOSED TREE 2017-06-12 12:50:30 +01:00
.inferconfig Bug 1357629 - Add httpclientandroidlib to .inferconfig ignore list r=nalexander,njpark 2017-04-18 20:05:25 -07:00
.lldbinit Bug 1346025 - Move vendored python modules from /python to /third_party/python, r=ted 2017-05-25 11:48:03 -04:00
.taskcluster.yml Bug 591688 - Notify when decision task fails r=dustin,gps 2017-04-12 21:01:46 -07:00
.ycm_extra_conf.py
AUTHORS Bug 1111333 - Enable double-tap-drag to zoom. r=kats 2017-05-23 19:53:06 +02:00
Android.mk
CLOBBER Backed out changeset f8a62747c51c (bug 1338651) for valgrind issues a=backout 2017-06-30 14:45:26 -07:00
GNUmakefile
LEGAL
LICENSE
Makefile.in Bug 1371871 - Run the artifact tier during a tup artifact build. r=mshal 2017-06-21 16:20:18 -07:00
README.txt Bug 1349108 - Update links in README.txt to HTTPS r=RyanVM 2017-03-21 00:11:02 -04:00
aclocal.m4 Bug 1363992 - Remove jemalloc 4. r=njn 2017-05-11 13:23:07 +09:00
build.gradle Bug 1318823 - Use com.getkeepsafe.dexcount in Gradle builds. r=sebastian 2016-11-18 18:28:58 -08:00
client.mk Bug 1317778 - Emit a depfile with python configure dependencies so Make will know when to re-run configure. r=glandium 2016-12-02 10:05:57 -08:00
client.py
configure.in Bug 1295751 - Make it possible to copy configure.in to configure. r=gps 2016-08-16 19:35:00 -07:00
configure.py Bug 1316140 - Allow use of multiprocessing from config.status on windows. r=mshal 2016-12-21 16:28:28 -08:00
gradle.properties
gradlew
mach Bug 1316140 - Allow use of multiprocessing from config.status on windows. r=mshal 2016-12-21 16:28:28 -08:00
moz.build bug 1370176, generic configuration for l10n, r=flod,gps 2017-06-05 10:28:33 +02:00
moz.configure Bug 1375798 - Figure out host library/object prefix/suffixes and use them for libclang. r=mshal 2017-06-23 15:12:04 +09:00
mozilla-config.h.in Bug 1371266 - libpng should be built with -std=c89. r=glennrp 2017-06-08 06:29:03 -07:00
npm-shrinkwrap.json Backed out changeset 1cd9e27f0fa1 (bug 1351608) 2017-06-29 01:01:15 +02:00
old-configure.in Merge mozilla-central to mozilla-inbound 2017-06-30 15:11:49 +02:00
package.json Backed out changeset d95016c5fc99 (bug 1351608) because eslint can't find the new plugin "eslint-plugin-no-unsanitized". r=backout 2017-06-29 01:02:26 +02:00
settings.gradle Backed out 2 changesets (bug 1355625) for causing bustage a=backout 2017-06-22 12:05:56 -07:00
test.mozbuild

README.txt

An explanation of the Mozilla Source Code Directory Structure and links to
project pages with documentation can be found at:

    https://developer.mozilla.org/en/Mozilla_Source_Code_Directory_Structure

For information on how to build Mozilla from the source code, see:

    https://developer.mozilla.org/en/docs/Build_Documentation

To have your bug fix / feature added to Mozilla, you should create a patch and
submit it to Bugzilla (https://bugzilla.mozilla.org). Instructions are at:

    https://developer.mozilla.org/en/docs/Creating_a_patch
    https://developer.mozilla.org/en/docs/Getting_your_patch_in_the_tree

If you have a question about developing Mozilla, and can't find the solution
on https://developer.mozilla.org, you can try asking your question in a
mozilla.* Usenet group, or on IRC at irc.mozilla.org. [The Mozilla news groups
are accessible on Google Groups, or news.mozilla.org with a NNTP reader.]

You can download nightly development builds from the Mozilla FTP server.
Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy. Firefox nightlies, for example, can be found at:

    https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
            - or -
    https://nightly.mozilla.org/