bug 1096666 - measure time spent in each compartment r=billm