Dictionary traverse benchmark