add benchmark functionality to CLI