Added barrier perf test.