Improving Benchmark and a fix String.replace Method