Auto-tools/Projects/GoFaster/2011-07-06

From MozillaWiki
< Auto-tools‎ | Projects‎ | GoFaster
Revision as of 00:38, 6 July 2011 by Ctalbert (talk | contribs) (Created page with "= Many Projects, all Complementary = * MozBase * Special Powers * Going Faster = MozBase = * [[Auto-tools/Projects/MozBase| Project to refactor base libraries of test harnesses ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Many Projects, all Complementary

  • MozBase
  • Special Powers
  • Going Faster

MozBase

Special Powers

  • API Implemented in Mochitest
  • Needed in Reftest, Mozmill
  • Needed in XPCShell?
  • Porting Mochitests to API
  • Will have some performance impact
  • Goal: Enable test harnesses to run in out of process architecture and still have access to chrome privileges/APIs as required

GoFaster

  • Goal: Reducing the end to end time as measured from pushing a change to getting results.
  • Early Profiling results
    • packed.js seems to average about 110ms per load.
    • There are around 3100 test files in mochitest. So, eliminating packed.js would save almost 341 seconds (5 minutes) per run.
    • In the makeIframe script, I'm seeing the window.scrollTo call take 8-10ms per call. Not sure how much we can streamline that, but best case that's 24 seconds on every run.

Related to GoFaster and MozBase

  • httpd.js could be a bottleneck.
  • How to profile?
  • How to go about trying out replacements to it?
  • Even if we stay with httpd.js, we need a better story for packaging it so that you download one item and it "just works" (tm)

Discussion Points

  • How to best work together without stepping on toes?
  • How can we monitor test harness performance so we know if we check in something that blows our gains?