Made benchmark xml generation dynamic.