Bug 1091842 - Porting performance framework into new repo

The sync methods here are pretty sketchy we should avoid them where possible. I think we should use promises instead of callbacks.