First version of the perf tool