bench/perf: move perf code from server to perf and add root support

3 jobs for master in 1 minute and 33 seconds (queued for 3 seconds)