Fixing perf test and TreeCompiler
Fixing compiler env
Fixing up comments and adding source code to debug output