Added perf test with some additions from mentor