wrapped benchmark in anoymous function, attached to module.exports