Added benchmark code for merge