Monday, March 22, 2010

title pic Macbook vs. Powerbook: Jiggerypokery

Posted by pookzilla on June 16, 2006

Getting the performance tests to run has require a bit more jiggerypokery than I had hoped for. Out of the box the performance test framework will not run on OS X (both Intel and otherwise) due to several bugs that have been reported against the releng team. Each should have a fairly straightforward fix – the hacks have been easy enough. ;)

The bugs I’ve found so far are :

Bug 147513 – runtests[.bat] does not take into account the existane of x86 Macs
Hacked to work by adding a new OR statement for macosx-carbon-x86 that allows the script to proceed.

Bug 147519 – Performance tests on OS X need additional VM parameters
Hacked to work by adding a new line to test.xml that always sets the “extraVMargs” property to “-XstartOnFirstThread”.

Bug 147520 – runtimeArchive property not set for Intel macs
Hacked to work by adding a new <condition> element for macosx-carbon-x86.

That’s it so far. The tests appear to be running fine at this point on my old G4 Powerbook but I can’t get a sense of the results. Hopefully the results from both machines will be available tomorrow.

top