gecko-dev/toolkit/crashreporter
Gregory Szorc bd9f7fa2a2 Bug 1207871 - Process files in descending file size order; r=ted
Large files take longer to process. Scheduling large files after smaller
files means there is a higher chance a large file may be a long pole
during processing.

This commit changes the scheduling logic to exhaustively obtain the set
of files to be processed. It then sorts them by descending file size and
schedules them in the resulting order, thus minimizing the chances for a
large file to be the long pole holding up processing completion.

On my machine this doesn't change wall execution time. However,
automation may be different. And the logic of the new behavior is sound.

--HG--
extra : commitid : CTbEbvKdEY4
extra : rebase_source : b75e0d5993a07f5244bf204a2b83b4082afe0bfd
2015-09-23 22:26:41 -04:00
..
breakpad-logging
breakpad-patches
breakpad-windows-libxul
breakpad-windows-standalone
client
content
docs
google-breakpad Bug 1216020 - Comment all ALLOW_COMPILER_WARNINGS lines. r=glandium. 2015-10-19 18:05:20 -07:00
injector
test Bug 1217082 - Remove for-each from toolkit/. r=Gijs 2015-10-19 04:57:14 +09:00
tools Bug 1207871 - Process files in descending file size order; r=ted 2015-09-23 22:26:41 -04:00
crashreporter.mozbuild
CrashReports.jsm
CrashSubmit.jsm
InjectCrashReporter.cpp
InjectCrashReporter.h
jar.mn
KeyValueParser.jsm
LoadLibraryRemote.cpp
LoadLibraryRemote.h
mac_utils.h
mac_utils.mm
Makefile.in
moz.build
nsExceptionHandler.cpp Bug 1186785 - Replace nsBaseHashtable::EnumerateRead() calls in toolkit/ with iterators. r=froydnj. 2015-10-19 15:46:46 -07:00
nsExceptionHandler.h
update-breakpad.sh