Rewrite coffee benchmark