add a command line efficiency test in pure scala