Style: reformatted code. Also removed outdated perf directory.