some improvements in the $.benchmark
improved performance in parsing arguments