Created attachment 579139 [details] [diff] [review] The fix I noticed bug 549561 today. By making some changes in trace malloc, they speeded up the time to run the tests. I've just made a similar modification and pushed to try server - the make mailbloat step on windows dropped from about 2 hours to 2 minutes. The patch does this by picking up the environment that's defined by automation.py.in (which also picks up the global environment specified by buildbot), and in doing so we gain the NS_TRACE_MALLOC_DISABLE_STACKS preference which is what Firefox has done for its leak test builds. This modifies the stackwalking in tracemalloc for things we don't need to do unless there's actually issues. Try server runs all passed with this applied.
Comment on attachment 579139 [details] [diff] [review] The fix r+ based on this working in try server
This landed and worked: Windows debug builds are now around 30 - 80 mins, where as they were over three hours.
Comment on attachment 579139 [details] [diff] [review] The fix I'm going to take this onto aurora and beta so we can reduce the time of builds there as well and help builder availability.
Trunk changeset was: http://hg.mozilla.org/comm-central/rev/778c81627f48 Branch changesets: http://hg.mozilla.org/releases/comm-aurora/rev/b301ba4dfd33 http://hg.mozilla.org/releases/comm-beta/rev/e65027f51cf3