Simplify the initialization of Performance.
Merge pull request #2831 from Ms2ger/perf-cleanup

Simplify the initialization of Performance; r=Manishearth