Write benchmark script