profile speedups (bug 860786)