benchfn

a function for instant benchmark

see test/test.js