Cleanup.

- Fix imports.
- Fix CS.
- Fix docblocks.
- Add argument validation for CpuPerformance::__construct()