add benchmem to benchmark