add benchmark to package.json

run with `npm run bench`
bench - minor code style tweaks
bench - increase iterations for more reliable results