reduce some duplication in benchmarks; reduce bench funcs to one line