a benchmark for Gen.persistent